How to pass multiple parameters to reports and export to PDF in JasperReports from Java
问题 I'm trying to use Jasper Reports to help with reporting in my application. I will have to display my reports in HTML (JSP) and would also need to be able to export the reports to PDF from within my web page. Most of my reports require multiple parameters, and I can't figure out how to pass them from my Servlet (if I have to pass them there) to the report. P.S: I'm not using frameworks of any sort, it would be great if you could suggest a framework free implementation. 回答1: //Preparing data -