uCosminexus Application Server, Web Container Functionality Guide

[Contents][Glossary][Index][Back][Next]

2.6.6 Definition in the DD

Define the default character encoding for each Web application in web.xml.

The following table lists the definition of default character encoding in the DD:

Table 2-25 Definition of default character encoding in the DD

Specified tags Setting contents
<http-request>-<encoding> tag Specify the character encoding to be used for request body and query decoding.
<http-response>-<encoding> tag Specify the character encoding to be used for the response body encoding.
<jsp>-<page-encoding> tag Specify the character encoding for the JSP file.

Note:
If the character encoding settings in the Servlet specifications exist in the servlets or JSP files in the Web application, the settings in the Servlet specifications are enabled. For details on the priority level of the settings, see 2.6.1(3) Operations when character encoding is specified with multiple ranges.