iReport Guide: How to execute a Jasper Report through a web app as a PDF and HTML
How to execute a Jasper Report through a web app as a PDF and HTMLThe most reliable and efficient way to execute a report through a web app (for this example I’ll be using servlets) is to have the report pre-compiled and ready. You can place ur SQL Qurrey inside the report itself or pass a java ResultSet object when creating a report.