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
- C#
- 톰켓
- Objective C
- permgen space
- Memory
- ipad
- HTML
- iphone
- 티스토리 초대장
- UIWebView
- spring
- 인코딩
- 티스토리 초대
- ios
- Android
- WebView
- JavaScript
- MySQL
- encoding
- jQuery
- jsp
- Database
- XML
- 이클립스
- udp
- 메모리
- 한글
- java
- Tomcat
- Eclipse
Archives
- Today
- Total
suroMind
[Tomcat]tomcat get 한글 깨짐 본문
톰켓 사용시 get 파라메터가 인코딩이 깨어질 때가 있다.
server.xml에 Connector에 옵션을 주면 된다.
아파치 등과 같이 WEB서버와 연동시에는 AJP 커넥터에도 URIEncoding을 달아준다.
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>
'IT분야 > Server' 카테고리의 다른 글
[Server]Tomcat max thread 변경 (0) | 2013.12.13 |
---|---|
[Server]Tomcat 메모리 변경 (0) | 2013.12.13 |
[Tomcat]PermGen space (0) | 2012.11.04 |
Weblogic 메모리 PermGen space 에러. (0) | 2012.11.04 |
[Apache+PHP+MySQL] Windows 2003 Server APM 셋팅 (0) | 2010.12.20 |
Comments