uCosminexus Application Server, Application Setup Guide
You set the default character encoding for each Web application.
You can set the default encoding for the following character encoding:
WAR property files
Execute the following command to acquire WAR property files:
cjgetappprop [server-name] [-nameserver provider-URL] -name J2EE application-name -type war -resname WAR-display-name -c path-of-the-WAR-attribute-file |
cjgetappprop MyServer -name adder -type war -resname adder_war -c C:\home\adder_war.xml
Execute the following command to apply the values of WAR property files:
cjsetappprop [server-name] [-nameserver provider-URL] -name J2EE application-name -type war -resname WAR-display-name -c path-of-the-WAR-attribute-file |
cjsetappprop MyServer -name adder -type war -resname adder_war -c C:\home\adder_war.xml
The following table describes the property settings of the default character encoding:
| Item | Mandatory | Corresponding tag name |
|---|---|---|
| Character encoding of the request body and query | O | <http-request> - <encoding> |
| Character encoding of the response body | O | <http-response> - <encoding> |
| Character encoding of JSP files | O | <jsp> - <page-encoding> |
For details on the property settings, see 3.7.1 Contents of the WAR property file in the uCosminexus Application Server Application and Resource Definition Reference Guide.
All Rights Reserved. Copyright (C) 2013, Hitachi, Ltd.