공지사항

제목 스프링 MVC POST 한글 입력 인코딩 필터 설정 코드
작성일 2020-12-19 00:42:55
작성자 newlec 조회수 836
첨부파일
%lt;filter%gt; %lt;filter-name%gt;charaterEncodingFilter%lt;/filter-name%gt; %lt;filter-class%gt;org.springframework.web.filter.CharacterEncodingFilter%lt;/filter-class%gt; %lt;init-param%gt; %lt;param-name%gt;encoding%lt;/param-name%gt; %lt;param-value%gt;UTF-8%lt;/param-value%gt; %lt;/init-param%gt; %lt;init-param%gt; %lt;param-name%gt;forceEncoding%lt;/param-name%gt; %lt;param-value%gt;true%lt;/param-value%gt; %lt;/init-param%gt; %lt;/filter%gt; %lt;filter-mapping%gt; %lt;filter-name%gt;charaterEncodingFilter%lt;/filter-name%gt; %lt;url-pattern%gt;/*%lt;/url-pattern%gt; %lt;/filter-mapping%gt;