Spring Korean filter (web.xml)

</servlet-mapping> <filter> <!-- http://blog.naver.com/PostView.nhn?blogId=dlaelel1&logNo=100138643494 --> <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> <session-config>
add
web.xml
</servlet-mapping>
filter
<session-config>

Be the first to comment

You can use [html][/html], [css][/css], [php][/php] and more to embed the code. Urls are automatically hyperlinked. Line breaks and paragraphs are automatically generated.