My application base is Struts and MySQL. I am generating pre-compiled ireports in many formats. I have a confusion over exporting reports as HTML. There is no way to write HTML reports as a stream using JasperExportManager. I did with PDF files - they can easily be exported as stream, and displayed.
What I am doing with HTML reports is I get the the report written to an HTML file, save it, and then print using PrintWriter.
Is there any other good approach?
posted 7 years ago
try out this
Map this in your struts-config.
And then on in JSP call the compiled jasper report.
Hope this will help you.
And Please correct if I am wrong somewhere.