Which folder of a web application war should jasperreports.properties be located?
I have a web application that uses Jasper Reports. I want to tweak some properties without editing the source (I've lost it). In the compiled web application in which folder should jasperreports.properties be located in or开发者_如何学Pythonder to get loaded?
jasper.properties is looked up by jasper reports in the classpath, so it can be directly in the WEB-INF/classes folder, or in the root folder of any of the jars in WEB-INF/lib.
If you put it in WEB-INF/classes it can be loaded from the CLASSPATH.
精彩评论