Lumiroot

Spring 한글 깨짐 본문

Programming/Spring

Spring 한글 깨짐

루미루트 2013. 5. 27. 13:30

web.xml

<!-- Character Encoding Filter -->

<filter>

<filter-name>encodingFilter</filter-name>

<filter-class>org.springframework.web.filter.CharacterEncodingFilter</filter-class>

<init-param>

<param-name>encoding</param-name>

<param-value>utf-8</param-value>

</init-param>

</filter>

<filter-mapping>

<filter-name>encodingFilter</filter-name>

<url-pattern>/</url-pattern>

</filter-mapping>

Comments