I have xml file in a folder
com/console/core/resources/cameo.jrxml
which is included in a jar file and the jar file is on the classpath.
i'm trying to load the resource like this
String file = "/com/console/core/resources/cameo.jrxml" ;
InputStream in = CustomForm.class.getResourceAsStream( file );
but i get an exception about MaformUrL. how do i get the file as a resource since i have to put it into the jar file to deploy