1. GET 방식 한글깨짐
- server.xml 에 아래 URIEncoding 옵션 추가

<Connector port="9000" protocol="HTTP/1.1"
    connectionTimeout="20000"
    redirectPort="8443"
    URIEncoding="euc-kr"/>

 

2. post 방식 한글깨짐
- web.xml에 jsp 확장자에 대하여 Filtering class 추가

      <filter>
        <filter-name>CharacterEncodingFilter</filter-name>
        <filter-class>org.apache.catalina.filters.SetCharacterEncodingFilter</filter-class>
        <init-param>
            <param-name>encoding</param-name>
            <param-value>EUC-KR</param-value>
        </init-param>
    </filter>

    <filter-mapping>
        <filter-name>CharacterEncodingFilter</filter-name>
        <url-pattern>*.jsp</url-pattern>
    </filter-mapping>