1 2 | <Connector connectionTimeout="20000" port="8181" protocol="HTTP/1.1" redirectPort="8443" URIEncoding="UTF-8"/> //Servers -> server.xml - > Connector 찾아서 URIEncoding="UTF-8" 추가 | cs |
1 2 | request.setCharacterEncoding("UTF-8"); //doget 메소드 안에 위와 같이 추가 | cs |
'jsp' 카테고리의 다른 글
[jsp] 커넥션풀 이용하기 (0) | 2017.09.27 |
---|---|
[jsp] dto 이용하기 (0) | 2017.09.27 |
[jsp] servlet doget dopost 받기 (0) | 2017.09.27 |
[jsp] session 사용하기 (0) | 2017.09.27 |
[jsp] servlet sendReDirect,forward (0) | 2017.09.27 |