In which folder of the war with the web application should jasperreports.properties be located?

I have a web application that uses Jasper reports. I want to configure some properties without editing the source (I lost it). In a compiled web application, which should host jasperreports.properties to download?

+1
source share
2 answers

jasper.properties is viewed 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.

+2
source

If you put it in WEB-INF / classes, it can be downloaded from CLASSPATH.

+2
source

All Articles