<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>
<init-param>
<param-name>forceEncoding</param-name>
<param-value>true</param-value>
</init-param>
</filter>
<filter-mapping>
<filter-name>encodingFilter</filter-name>
<url-pattern>/*</url-pattern>
</filter-mapping>
'프로그래밍 > spring' 카테고리의 다른 글
파일 업로드 (0) | 2015.11.16 |
---|---|
spring_mabatis 설정 (0) | 2015.11.02 |
springMVC config (0) | 2015.10.28 |
springMVC config (0) | 2015.10.28 |
sping ioc annotaion 기반 설정 예제 (0) | 2015.10.27 |