uCosminexus Application Server, Web Container Functionality Guide
To specify settings for the default character encoding, you must set up the J2EE server and Web applications.
Reference the Web application settings only when you want to set up or change the properties of Web applications that do not contain cosminexus.xml.
Implement the J2EE server settings in the Easy Setup definition file. Specify the definition for the default character encoding within the <configuration> tag of the logical J2EE server (j2ee-server), in the Easy Setup definition file.
The following table lists the definitions for the default character encoding in the Easy Setup definition file:
Table 2-26 Definitions of default character encoding in the Easy Setup definition file
Parameter to be specified | Setting contents |
---|---|
webserver.http.request.encoding | Specify the character encoding to be used for request body and query decoding. |
webserver.http.response.encoding | Specify the character encoding to be used for the response body encoding. |
webserver.jsp.pageEncoding | Specify the encoding for the JSP file. |
webserver.static_content.encoding.extension | Specify the static contents extension for applying the default response character encoding. |
For details on the Easy Setup definition file and the parameters to be specified, see 4.6 Easy Setup definition file in the uCosminexus Application Server Definition Reference Guide.
Implement the settings for the Web applications in the execution environment using the server management commands and property files. Use the WAR property file for defining the default character encoding.
The tags specified in the WAR property file correspond to the DD. For details on the definition in the DD (web.xml), see 2.6.6 Definition in the DD.
All Rights Reserved. Copyright (C) 2013, Hitachi, Ltd.