JSPReportProcessor class

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 document data, including XSL formatting objects. You must specify the output context and the JSP input data source before 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 examples show how you can use the JSPReportProcessor and the PDFContext classes to generate a report. Begin change The examples include both the Java and the JSP code, which you can view by using the following links. You can also download a zip file that contains the example JSP, XML, and XSL source files for both the JSPReportProcessor and XSLReportProcessor examples:End change

For more information about JSPs, see Java Server Pages technology Link outside Information Center on Sun's Java Web site Link outside Information Center.