fabianobonin Posted March 12, 2010 Share Posted March 12, 2010 Hi all,I store both my .jrxml and .jasper files in a database (reports and subreports)When i load a report, i get it from the database as a stream and generate the report.The problem is when this report uses some subreport it tries to find the subreport in the filesystem, but it isn´t there.Is there a way to override the subreport loading method to be able to load it from the database?I am considering 2 options in this case:1 - If there is a way to override the subreport loader, i write it and i´m done2 - If there is no way to do that, it seems i can load the subreports together with the report, and pass its layouts as parameters of the main report (can i do that?). In this case, is it possible to know in advance which subreports a report use?Regards,Fabiano 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