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