반응형
📝1. 톰켓설치경로/conf/server.xml 을 열고 URIEncoding 을 추가
<Connector port="80" protocol="HTTP/1.1"
connectionTimeout="20000"
redirectPort="8443" URIEncoding="UTF-8" />
📝2. 톰켓설치경로/bin 에 setenv.sh 파일 생성 후 내용 추가.
#!/bin/bash
JAVA_OPTS="$JAVA_OPTS -Dfile.encoding=\"utf-8\""
반응형
'[Java] > [Tomcat]' 카테고리의 다른 글
[Tomcat] 톰캣(Tomcat) 구조 및 프로세스 (web.xml, server.xml) (0) | 2022.10.31 |
---|---|
[Tomcat] 포트변경 및 SSL 인증서 발급후 HTTPS 통신 포트 연결(수정중) (0) | 2022.10.27 |
[Tomcat] 톰캣으로 페이지호출, URL매핑 (javac로 class파일 만들기) (0) | 2022.06.12 |
[Error] [Tomcat] [톰캣] The origin server did not find a current representation for the target resource or is not willing to disclose that one exists (0) | 2021.10.24 |
[Tomcat] war파일로 배포해보기 (0) | 2021.10.24 |