Oracle Reports Servlet The Reports URL Syntax

Running Report Requests 18-5

18.3.1 Deploying a Report with a Paper Layout

Once youve created your paper report, you can deploy it to the Reports Server so that users can run the report. The steps in this section show you how to deploy a report of type RDF, REP, XML or JSP. If your report depends on Java classes for example, Barcode classes, a Web Service stub, and so on, you must configure the process to access these classes. That is, if your JSP report with a paper layout contains a Java class, you must set the classPath property of the engine element in the server configuration file ORACLE_ INSTANCEconfigReportsServerComponentserver_namerwserver.conf for Standalone servers and DOMAIN_HOMEconfigfmwconfigserversWLS_ SERVER_NAMEapplicationsreports_ versionconfigurationrwserver.conf for In-process servers. To deploy your paper report:

1. Transfer the report file RDF, REP, XML, or JSP and its associated files for

example, PLL, PLX or referenced images to the deployment directory on your application server. Table 18–3 Methods for Deploying a Report Type of Report Method Reason for Using Report with paper layout REP, RDF, XML Deploying a Report with a Paper Layout Method for deploying a report with only a paper layout. JSP report with a paper layout Deploying a Report with a Paper Layout Simplest method for deploying a paper report of any type. However, if the JSP report has both a paper and Web layout, we recommend you refer to Section 18.3.3, Deploying a JSP Report to the Web and to Paper . JSP report with a paper and Web layout Deploying a JSP Report to the Web and to Paper Strongly recommended for those who want to publish a report to both the Web and to paper. Note: rwrun and rwclient execute the paper layout of your report. The report is processed and executed even though your JSP has only a paper layout. If your JSP has only a web layout but not a paper layout, running the JSP report using rwrun or rwclient obtains a blank output. If you have a JSP with paper layout, it is recommended that you save the JSP as RDF and then run the RDF using rwrun or rwclient. Note: JSP reports can be deployed either to the Web or to paper, depending on the layout the report designer used for the JSP report. This section discusses how to deploy a JSP report with a paper layout. If you want to deploy a JSP report with a paper and Web layout, follow the steps in Section 18.3.3, Deploying a JSP Report to the Web and to Paper . 18-6 Publishing Reports to the Web with Oracle Reports Services 2. Ensure the directory on the application server where youve transferred the file is listed in the Reports Server access path. If it is not, use the REPORTS_PATH environment variable, or set the sourceDir property of the Reports engine element in the server configuration file.

18.3.2 Running a Report with a Paper Layout

Now that you have deployed your paper report, you can run it from a Web browser. In a browser, for example, you can type the following URL in the Location field: http:your_web_server:port_numreportsrwservlet?server=server_namereport= myreport.rdfuserid=usernamepasswordmy_dbdesformat=pdfdestype=cache In this example, your report displays in PDF format desformat=PDF in the browser. For more information on running a report from the browser, refer to Section 18.5, Specifying a Report Request from a Web Browser .

18.3.3 Deploying a JSP Report to the Web and to Paper