mkr-fr Posted October 29, 2009 Share Posted October 29, 2009 Hello everyone,is it possible to compile a jasper-file out of a jrxml-file programmaticaly in java? I mean, a JRXML-File can be converted to any format like html, pdf, csv... and I think it should be possible to get a Jasper-File out of it!? A convertion outside of java like in IReports is no option. It needs to be done during runtime. Any suggestions would be welcome. Greetings Marco Link to comment Share on other sites More sharing options...
bobz28 Posted October 29, 2009 Share Posted October 29, 2009 Hi Marco, Yes, you can use JasperCompileManager in your Java code to compile .jrxml file and convert it to .jasper file then you can use the exporter to export the report to any format such as pdf, html, csv, excel...etc. Regards,Bob Link to comment Share on other sites More sharing options...
mkr-fr Posted October 30, 2009 Author Share Posted October 30, 2009 Thank you for your reply. It works! 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