Notice
Recent Posts
Recent Comments
Link
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | 2 | 3 | ||||
4 | 5 | 6 | 7 | 8 | 9 | 10 |
11 | 12 | 13 | 14 | 15 | 16 | 17 |
18 | 19 | 20 | 21 | 22 | 23 | 24 |
25 | 26 | 27 | 28 | 29 | 30 | 31 |
Tags
- decompiler
- STS
- Apache Lucene
- Redirect
- Android
- TextBox
- html
- WebView
- Web Service
- scrollView
- varags
- 컬럼명
- 웹 서비스
- MS-SQL
- 웹뷰
- jsp
- 안드로이드
- 이클립스
- SpringSource Tool Suite
- C#
- Bootstrap
- 자바스크립트
- Eclipse
- MSsql
- MANTIS
- javascript
- asp.net
- Maven
- Java
- 자바
Archives
- Today
- Total
bboks.net™
Spring Parameter 한글 Encoding 본문
1. WEB-INF안에 web.xml 수정
encodingFilter org.springframework.web.filter.CharacterEncodingFilter encoding UTF-8 forceEncoding true encodingFilter /*
2. Tomcat 또는 Spring TC Server server.xml 추가
<Connector acceptCount="100" connectionTimeout="20000" executor="tomcatThreadPool" maxKeepAliveRequests="15" port="${http.port}" protocol="HTTP/1.1" redirectPort="8443" useBodyEncodingForURI="true" URIEncoding="UTF-8"/>
※ 참고로 spring-servlet.xml <bean id="viewResolver" /> 안에 추가
<property name="contentType" value="text/html; charset=UTF-8" />