PDA

View Full Version : JasperReport and JSP



Anonymous
05-15-2006, 04:57 AM
Hi, i'm working on a web application and wanna integrate the code of jasperReport that is serving to generate reports, but when trying the page on the browser i find warnings .
I wonder if someone had worked on jasperReport in a web application with JSP, i have tha code and it works in java.
Thnks

Taqua
05-15-2006, 05:54 AM
Hi,

you should ask these questions in the JasperReports forum.

But as JasperReports as a similiar architecture as JFreeReport, it might be wise to write a servlet service for that. From your JSP you can happily use the JSP-Include tag to call that servlet (or reference it directly via hyperlinks for non-embeddable content like PDFs).

Inside the servlet, it is all a matter of generating PDFs, HTML or everything else directly without showing the GUI. I've never used Jasper, but by looking at their demos, that task seems to be easy to be done.

Regards,
Thomas