开发者

Which folder of a web application war should jasperreports.properties be located?

开发者 https://www.devze.com 2023-02-08 16:54 出处:网络
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.prop

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.

0

精彩评论

暂无评论...
验证码 换一张
取 消