01.02.2013 Views

Publishing Reports to the Web - Downloads - Oracle

Publishing Reports to the Web - Downloads - Oracle

Publishing Reports to the Web - Downloads - Oracle

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

13.3.4 Running a JSP-Based <strong>Web</strong> Report from a Browser<br />

Deploying Your <strong>Reports</strong><br />

If your JSP report is a <strong>Web</strong> report, you can now run your JSP-based <strong>Web</strong> report from a<br />

<strong>Web</strong> browser. In a browser, type <strong>the</strong> following URL in <strong>the</strong> Location field:<br />

http://your_computer_name:port/MyReportApp/JSPreportname.jsp?userid=user<br />

ID/password@database_name<br />

Note: In <strong>the</strong> above URL, MyReportApp is <strong>the</strong> name of <strong>the</strong><br />

application you created.<br />

If you wish you modify your JSP-based <strong>Web</strong> report at this point, you can ei<strong>the</strong>r:<br />

■ Replace <strong>the</strong> report in <strong>the</strong> above location.<br />

■ Recreate <strong>the</strong> WAR file with <strong>the</strong> modified JSP-based <strong>Web</strong> report, <strong>the</strong>n redeploy <strong>the</strong><br />

application. For more information, refer <strong>to</strong> Creating a New J2EE Application.<br />

For more information on running a report from a browser, refer <strong>to</strong> Specifying a Report<br />

Request from a <strong>Web</strong> Browser.<br />

13.3.5 Running a JSP report with a Paper Layout<br />

If your JSP report has a paper layout, you can now run your JSP report from a browser<br />

using <strong>the</strong> following URL:<br />

http://your_web_server:<br />

portnum/<br />

MyReportApp/<br />

rwservlet?report=<br />

myreport.jsp&userid=username/password@my_db&server=server_<br />

name&desformat=pdf&destype=cache<br />

Your report displays as a PDF (since in this case desformat=PDF) in <strong>the</strong> browser.<br />

For more information on running a report from a browser, refer <strong>to</strong> Specifying a Report<br />

Request from a <strong>Web</strong> Browser.<br />

13.3.6 Running with <strong>the</strong> WE8MSWIN1252 character set on Solaris<br />

There are no UNIX fonts built in<strong>to</strong> <strong>the</strong> WE8MSWIN1252 character set. This may cause<br />

<strong>Oracle</strong> <strong>Reports</strong> <strong>to</strong> fail when NLS_LANG=AMERICAN_AMERICA.WE8MSWIN1252.<br />

Therefore, you must map <strong>the</strong> code page of <strong>the</strong> installed fonts (defined in <strong>the</strong><br />

Tk2Motif.rgb file) <strong>to</strong> <strong>the</strong> WE8MSWIN1252 character set. TK2Motif.rgb is located<br />

in <strong>the</strong> ORACLE_HOME/guicommon9/tk90/admin/ direc<strong>to</strong>ry.<br />

Note: This mapping is required for <strong>Reports</strong> Builder, <strong>Reports</strong><br />

Converter in non-batch mode (batch=no), <strong>Reports</strong> Server / <strong>Reports</strong><br />

Runtime with REPORTS_DEFAULT_DISPLAY=NO. <strong>Reports</strong> Server /<br />

<strong>Reports</strong> Runtime uses REPORTS_DEFAULT_DISPLAY <strong>to</strong> determine<br />

<strong>the</strong> fonts needed.<br />

Example1<br />

Tk2Motif*fontMapCs: ISO8859-1=WE8MSWIN1252 (if <strong>the</strong>re are ISO8859-1 fonts<br />

installed on <strong>the</strong> system.)<br />

Running Report Requests 13-11

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!