spring MVC 디코딩 문제 (데이터베이스와 무관)

1599 단어 J2EESpringMVC
spring MVC 디코딩 문제 (데이터베이스와 무관)
           UTF-8 ,  srpingMVC       ,          fitter   springMVC   

웹에서.xml에 다음 필터 추가
  <filter-name>characterEncodingFilterfilter-name>
  <filter-class>org.springframework.web.filter.CharacterEncodingFilterfilter-class>
  param>
    <param-name>encodingparam-name>
    <param-value>UTF-8param-value>
  param>
  param>
    <param-name>forceEncodingparam-name>
    <param-value>trueparam-value>
  param>
filter>
  <filter-mapping>
    <filter-name>characterEncodingFilterfilter-name>
    /*
  

좋은 웹페이지 즐겨찾기