fill report
 
 
 
 
  Filling Reports with Data

The servlet and the JSP below both show how a compiled report template (.jasper file) could be filled with data. They place the resulting net.sf.jasperreports.engine.JasperPrint object onto the HTTP session from where subsequent report viewing and exporting servlets and JSPs in this sample application will reuse it.

JSP Example execute source
Servlet Example execute source


 



Copyright © 2001-2009 Jaspersoft Corporation www.jaspersoft.com