The JSPReportProcessor class enables you create a document or report from the contents of a JavaServer Page(TM) (JSP) or Java servlet.
Use this class to obtain a JSP or servlet from a given URL and create a document from the contents. The JSP or servlet must provide the documentat data, including XSL formatting objects. You must specify the output context and the JSP input data source beofre you can generate any pages of the document. You can then convert the report data to a specified output data stream format.
The JSPReportProcessor class allows you to:
The following example shows how you can use the JSPReportProcessor and the PDFContext classes to generate a report:
For more information about JSPs, see Java
Server Pages technology
on Sun's Java Web site
.