OS에 locale을 ko_KR.eucKR로 변경하기 어려운 사항이면 아래처럼 처리해 주시기 바랍니다.
1. web.xml
:
:
<jsp-config>
<taglib>
<taglib-uri>/WEB-INF/ngtag.tld</taglib-uri>
<taglib-location>/WEB-INF/ngtag.tld</taglib-location>
</taglib>
<jsp-property-group>
<url-pattern>*.ng</url-pattern>
<page-encoding>MS949</page-encoding>
</jsp-property-group>
</jsp-config>
:
:
2-1. $JEUS_HOME/config/<HOSTNAME>/JEUSMain.xml
:
:
<node>
<name>NG230</name>
<engine-container>
<name>container2</name>
<!-- 톰켓 한글처리 방식 -->
<command-option>
-Djeus.servlet.jsp.modern=true
</command-option>
<id>122</id>
<base-port>10971</base-port>
<engine-command>
<type>servlet</type>
<name>engine2</name>
</engine-command>
</engine-container>
<class-ftp>true</class-ftp>
<sequential-start>true</sequential-start>
<enable-webadmin>true</enable-webadmin>
</node>
:
:
2-2. WebRoot/WEB-INF/jeus-web-dd.xml (JEUSMain.xml 수정하지 못하는 사항이면)
<?xml version="1.0" encoding="UTF-8"?>
<jeus-web-dd xmlns="http://www.tmaxsoft.com/xml/ns/jeus">
<context-path>/</context-path>
<enable-jsp>true</enable-jsp>
<auto-reload>
<enable-reload>false</enable-reload>
<check-on-demand>false</check-on-demand>
</auto-reload>
<max-instance-pool-size>-1</max-instance-pool-size>
<url-rewriting>false</url-rewriting>
<enable-default-login>false</enable-default-login>
<webinf-first>false</webinf-first>
<jndi-properties>
<local-bindings>false</local-bindings>
</jndi-properties>
<properties>
<property>
<!-- 톰켓 한글처리 방식 -->
<key>jeus.servlet.jsp.modern</key>
<value>true</value>
</property>
</properties>
</jeus-web-dd>
3. $JEUS_HOME/config/<HOSTNAME>/<SERVLET_ENGINE_NAME>/WEBMain.xml
<?xml version="1.0" encoding="UTF-8"?>
<web-container xmlns="http://www.tmaxsoft.com/xml/ns/jeus">
<context-group>
<jsp-engine>
<java-compiler>javac</java-compiler>
<!-- include 다시 읽기옵션 서비스시 주석처리요망 -->
<check-included-jspfile>true</check-included-jspfile>
</jsp-engine>
<group-name>MyGroup</group-name>
<virtual-host>
<virtual-host-name>192.168.0.222</virtual-host-name>
<host-list>NG230</host-list>
</virtual-host>
<webserver-connection>
<http-listener>
<listener-id>10</listener-id>
<port>80</port>
<output-buffer-size>8192</output-buffer-size>
<thread-pool>
<min>10</min>
<max>20</max>
</thread-pool>
</http-listener>
</webserver-connection>
<encoding>
<request-encoding>
<default>MS949</default>
<forced>MS949</forced>
</request-encoding>
<response-encoding>
<default>MS949</default>
<forced>MS949</forced>
</response-encoding>
<postdata-encoding>
<default>MS949</default>
<forced>MS949</forced>
</postdata-encoding>
</encoding>
</context-group>
</web-container>