Created
February 19, 2017 13:32
-
-
Save ppeeou/ac8d8446a4d813c1fe7f979dc49a98b0 to your computer and use it in GitHub Desktop.
spring utf-8 설정
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!--web.xml--> | |
<filter> | |
<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> | |
<!--톰캣 server.xml--> | |
<Connector port="8080" URIEncoding="UTF-8" maxHttpHeaderSize="8192" | |
maxThreads="150" minSpareThreads="25" maxSpareThreads="75" | |
enableLookups="false" redirectPort="8443" acceptCount="100" | |
connectionTimeout="20000" disableUploadTimeout="true" /> | |
<!--maven--> | |
<plugin> | |
<groupId>org.apache.maven.plugins</groupId> | |
<artifactId>maven-javadoc-plugin</artifactId> | |
<configuration> | |
<charset>UTF-8</charset> | |
<docencoding>UTF-8</docencoding> | |
<encoding>UTF-8</encoding> | |
<quiet>true</quiet> | |
</configuration> | |
</plugin> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
이외에 DB , page상 , 파일 저장할 시 utf-8 로 설정되어있는지 확인