728x90
반응형
web.xml에 추가
<!-- Korean Filter -->
<filter>
<filter-name>encoding</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>encoding</filter-name>
<servlet-name>appServlet</servlet-name>
</filter-mapping>
728x90
반응형
'Java' 카테고리의 다른 글
객체 지향 프로그래밍 알아보기 (1) (0) | 2020.04.12 |
---|