mulcamd Posted December 21, 2011 Share Posted December 21, 2011 In my scriptlet I do a lot of calculation and create a bean for a histogram in a bar chart.For the calcuation of the histogram I use values. There are almost 1700, so way to much to show as a prompt and hard coding them in the scriptlet is very bad and no flexibel.I want to load these values into the scriplet as a property file. This property file should be stored together with my .JRXML or .JASPER file in the same location (folder / directory and in the repository).Questions: How can I load this property file in iReport My problem is that I can not figure out in the scriptlet the location of the .JRXML that is running. How should I make this work in JasperReports Server.I'm open to other solutions than I came up with.Post Edited by mulcamd at 12/21/2011 09:21 Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now