*
The moose likes Other Open Source Projects and the fly likes Displaying HTML report on the same page usng JasperReports 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 Open Source Projects
Bookmark "Displaying HTML report on the same page usng JasperReports" Watch "Displaying HTML report on the same page usng JasperReports" New topic
Author

Displaying HTML report on the same page usng JasperReports

Girish Vasmatkar
Ranch Hand

Joined: Apr 24, 2008
Posts: 199
Hello to all,

This is the first time i have to generate an HTML report on the same page on a button click. My solution is to call a servlet and and the servlet will do the job of generating the HTML file using Jasper Report. The servlet will then forward the request to the same JSP it was called from and the JSP will then include that HTML file generated using the include directive. My question is : Am i thinking in a right way to accomplish the task or it has to be done in some different way? Please provide me some guidence over how to generate an HTML flle using Jasper Reports
Thanks and Regards
--Girish--
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: Displaying HTML report on the same page usng JasperReports
 
Similar Threads
Old image repets for new image in JSP
Jasper Report embedded in a xhtml page
Jasper report export html file to servlet output stream, images path not found
Jasper Report in Struts JSP
How to embed jasper report in jsp page when using struts2-jasperreports-plugin