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.

Configuring <strong>the</strong> <strong>Reports</strong> Servlet<br />

3.3.6 Specifying <strong>the</strong> character encoding for reports output using rwservlet<br />

From <strong>Oracle</strong> <strong>Reports</strong> 10g (9.0.4) onwards, you can specify non-ASCII escaped<br />

characters in <strong>the</strong> request URL or in <strong>the</strong> Parameter Form input. You must specify <strong>the</strong><br />

character encoding in <strong>the</strong> rwservlet.properties file before you can apply it. This<br />

is <strong>to</strong> ensure that rwservlet uses <strong>the</strong> required encoding when parsing <strong>the</strong> parameter<br />

value.<br />

You can set <strong>the</strong> value of DEFAULTCHARSET in <strong>the</strong> rwservlet.properties file <strong>to</strong><br />

ei<strong>the</strong>r:<br />

■ The NLS characterset (for example, JA16EUC)<br />

■ The IANA charset (for example, EUC-JP)<br />

Example<br />

DEFAULTCHARSET=JA16EUC.<br />

3.3.7 Disallowing HTML code specified in <strong>the</strong> URL from being executed in a browser<br />

Any HTML code included as part of <strong>the</strong> report request URL might lead <strong>to</strong> a security<br />

compromise as it causes certain browsers <strong>to</strong> execute any script or code in <strong>the</strong> URL.<br />

From <strong>Oracle</strong> <strong>Reports</strong> 10g (9.0.4) onwards, HTML code is not allowed as part of <strong>the</strong><br />

URL command.<br />

To disallow HTML code as part of <strong>the</strong> URL command, a new property<br />

ALLOWHTMLTAGS is introduced in <strong>the</strong> rwservlet.properties file. This property is<br />

set <strong>to</strong> NO by default, disallowing any HTML code <strong>to</strong> be entered in <strong>the</strong> URL when<br />

running a report.<br />

Valid Values<br />

■ YES Allows HTML code in <strong>the</strong> URL<br />

■ NO Disallows any HTML code in <strong>the</strong> URL<br />

Default:<br />

NO<br />

3.3.8 Specifying <strong>the</strong> pool size for concurrent connections <strong>to</strong> rwservlet<br />

You may want <strong>to</strong> define <strong>the</strong> number of users who can connect and submit job requests<br />

simultaneously <strong>to</strong> rwservlet. To do so, you must set <strong>the</strong> value of <strong>the</strong> CONNECTION_<br />

POOLSIZE property in <strong>the</strong> rwservlet.properties file.<br />

Default Value<br />

500<br />

Note: Setting ALLOWHTMLTAGS=YES allows malicious HTML code<br />

<strong>to</strong> be executed by certain browsers.<br />

Minimum Value<br />

0 (not recommended)<br />

3-36 <strong>Oracle</strong> Application Server <strong>Reports</strong> Services <strong>Publishing</strong> <strong>Reports</strong> <strong>to</strong> <strong>the</strong> <strong>Web</strong>

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

Saved successfully!

Ooh no, something went wrong!