C:\UI-1\apache-tomcat-8.5.81\conf 파일 안에서
server.xml
<Connector port="9090" protocol="HTTP/1.1"
URIEncoding="utf-8"
connectionTimeout="20000"
redirectPort="8443" />
<!-- A "Connector" using the shared thread pool-->
<!--
<Connector executor="tomcatThreadPool"
port="8080" protocol="HTTP/1.1"
connectionTimeout="20000"
redirectPort="8443" />
(port="8080"을 port="9090"으로 바꾼다. Oracle 같은 것들과 충돌을 예방하기 위해서)
URIEncoding="utf-8" 추가.
<Connector port="8443" protocol="org.apache.coyote.http11.Http11AprProtocol"
maxThreads="150" SSLEnabled="true" >
<UpgradeProtocol className="org.apache.coyote.http2.Http2Protocol" />
<SSLHostConfig>
(port="8443"를 port="8080"으로 변경)
context.xml
<!-- The contents of this file will be loaded for each web application -->
<Context privileged="true" reloadable="true">
privileged="true" reloadable="true" 추가
privileged="true" 하나의 Context에 대한 접근 권한
reloadable="true" 서버를 껏다 키지 않아도 변경사항이 자동으로 반영된다.
eclipse
windows preferences general workspace
text file encoding > other > utf-8
windows preferences general webbrowser
check the Chrome
windows preferences server runtime_enviroments
check the Apache Tomcat
windows preferences web CSS_Files
Encoding > ISO 10646/Unicode(UTF-8)
Client 에서 Server로 넘어갈 때, encoding
windows preferences web HTML_Files
Encoding > ISO 10646/Unicode(UTF-8)
windows preferences web JSP_Files
Encoding > ISO 10646/Unicode(UTF-8)
JSP Templates(템플릿 이용, 부서 별 사원 입력 및 출력) (0) | 2022.08.19 |
---|---|
JSP (DB 연결, 부서 별 사원 입력 및 출력) (0) | 2022.08.19 |
VO(Value Object), JSP 내장 객체, (여러가지 정보를 하나로 묶어 저장할 수 있게 만든 클래스 VO) (0) | 2022.08.16 |
JSP 예제 (메서드 및 변수 출력, li 배열 출력, table 구구단 ) (0) | 2022.08.16 |
JSP 개념 (접속자 IP 주소 얻어오기) (0) | 2022.08.16 |