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 |
Tags
- asp.net
- 웹 서비스
- Eclipse
- Maven
- Java
- Apache Lucene
- 컬럼명
- html
- 자바스크립트
- WebView
- jsp
- javascript
- Android
- 이클립스
- MSsql
- decompiler
- scrollView
- varags
- 안드로이드
- Web Service
- STS
- TextBox
- MANTIS
- C#
- 자바
- Bootstrap
- Redirect
- MS-SQL
- 웹뷰
- SpringSource Tool Suite
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" />