About previewing JSP-based Web reports

2-10 Oracle Reports Users Guide to Building Reports

2.2.2 About previewing JSP-based Web reports

You can preview a JSP-based Web report by clicking the Run Web Layout button in the toolbar, or by choosing Program Run Web Layout, to run the Web Source. Reports Builder displays Web reports in your default browser. It is not necessary that you have Reports Server configured to use this functionality. Oracle Reports Builder uses the standalone Oracle WebLogic Server for running a report to Web layout. Document Root By default, the Oracle Reports Builder document root directory is DOMAIN_HOMEserversMANAGED_SERVER_ NAMEstagereportsreportsweb.war. This can be configured in the Oracle Reports Builder configuration file rwbuilder.conf as follows: webLayout docroot=DOMAIN_HOMEserversMANAGED_SERVER_ NAMEstagereportsreportsweb.war The end user can also override this configurable docroot from the command line using the WEBSERVER_DOCROOT command line keyword. If your JSP depends on external files, such as images, style sheets, and so on, make sure you copy them into the docroot directory. The docroot should point to any Oracle WebLogic Server component, DOMAIN_HOMEserversMANAGED_SERVER_ NAMEstagereportsreportsweb.war directory where Reports Application has been deployed. Web Server Port By default, the OHS port is considered to be the Web server port. This can be configured in the Oracle Oracle Reports Builder configuration file rwbuilder.conf as follows: webLayout port=ohs_port The end user can override this configurable port parameter from the command line using the WEBSERVER_PORT command line keyword. Usage notes ■ The large numbers in generated filenames are simply unique IDs, and have no particular meaning for example, emp012345678.jsp. ■ The temporary files created in the docroot directory get cleaned up when you exit Oracle Reports Builder. See also Section 4.7.16.4, Displaying report output in your Web browser Note: If Netscape 7.0 is your default browser, and the browser does not display, set the registry key HKEY_CURRENT_ USERS\Software\Oracle\Toolkit\Tkbrowser to the default browser location. Ensure that the BrowserName and the BrowserPath keys reflect the correct values. For example: BrowserName=Netscape 7; BrowserPath=C:\Program Files\Netscape\Netscape\Netscp.exe. Advanced Concepts 2-11 Section 4.7.17.3, Printing a report from your Web browser

2.2.3 About Web links for HTML output