티스토리 뷰


java config 스타일로 CharacterEncodingFilter 추가.

흔히 요청들의 encoding 을 지정하기 위해 이용한다.

특히, 한글 처리.


tomcat 에도 uriencoding 을 지정하고, 추가로 이 필터를 지정하면 된다.






http://www.rockhoppertech.com/blog/spring-mvc-configuration-without-xml/

Filters

You can also create any Servlet Filters here. Here are a few Spring provided Filters.

In this example I set up the CharacterEncodingFilter.





















공지사항