Page No. 79413402
작성자 : 박재용 / 검수자 :
한글등을 사용하기 위해서는 WAS 및 DB의 인코딩은 반드시 UTF-8로 설정해야 합니다.
예시)
WAS 의 file encoding 을 UTF-8 로 설정 (Tomcat 기준)
- {MATRIX Server 설치경로}../WEB-INF/web.xml
<filter>
<filter-name>Set Character Encoding</filter-name>
<filter-class>filters.SetCharacterEncodingFilter</filter-class>
<init-param>
<param-name>encoding</param-name>
<param-value>UTF-8</param-value>
</init-param>
</filter>
<filter-mapping>
<filter-name>Set Character Encoding</filter-name>
<url-pattern>/*</url-pattern>
</filter-mapping>
- {Tomcat 설치경로}../conf/server.xml
<Connector port="8080" protocol="HTTP/1.1" maxThreads="250" connectionTimeout="20000" redirectPort="8443" URIEncoding="UTF-8" />