JRC Export Report
This Java Server Pages (JSP) sample application is for use only with the Crystal Reports (CR) Java Reporting Component (JRC). This sample demonstrates how to export a report to a stream (server-side exporting). The sample then demonstrates how to use the Java I/O libraries to write the exported result to the local file system or the browser. If the report is based on a secured database the database login credentials will need to be set before calling the export method below. Also, if the report has parameters, then values will need to be set for the report before export method can be called or an error will be thrown.