my dog learned polymorphism*
The moose likes Other Java Products and Servers and the fly likes iReports - HTML format in JSP Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Products » Other Java Products and Servers
Bookmark "iReports - HTML format in JSP" Watch "iReports - HTML format in JSP" New topic
Author

iReports - HTML format in JSP

Renjith Mohan
Ranch Hand

Joined: Nov 28, 2008
Posts: 65


Hi all,
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?


Thanks
Renjith
eshu khare
Ranch Hand

Joined: Aug 01, 2008
Posts: 44
Hi,
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.


Thanks & Regards
Eshu Khare
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: iReports - HTML format in JSP
 
Similar Threads
Charting with struts
Jasper Report or iReport or Both
generate report in pdf format through a JSP page
Jasper Reports using IReports
jasper reports using hibernate