이클립스 프로잭트 시작하기 전 점검 사항(java 버전, UTF-8 엔코딩)
■ Java 1.8 관련 설정 확인
프로잭트 Properties > Java Build Path > Libraries ▶ jre1.8
프로잭트 Properties > Java Compiler > Compiler compliance level ▶ 1.8
프로잭트 Properties > Project Facets > Java ▶ 1.8
■ UTF-8 관련 설정 확인
프로잭트 Properties > Resource > Test file encoding ▶ UTF-8
Window 메뉴 > Preferences > General > Content Types > Text > Default cncoding ▶ UTF-8
Wondow 메뉴 > Preferences > General > Content Types > Text > JSP > Default encoding ▶ UTF-8
Wondow 메뉴 > Preferences > Web > CSS Files > Encoding ▶ ISO 10646/Unicode(UTF-8)
Wondow 메뉴 > Preferences > Web > HTML Files > Encoding ▶ ISO 10646/Unicode(UTF-8)
Wondow 메뉴 > Preferences > Web > JSP Files > Encoding ▶ ISO 10646/Unicode(UTF-8)
Tomcat Server (더블클릭) > Overview > Open launch configuration > Common > Ecoding ▶ UTF-8
server.xml (URIEncoding="UTF-8" 추가 두곳)
<Connector connectionTimeout="20000" port="80" protocol="HTTP/1.1" redirectPort="8443" URIEncoding="UTF-8"/>
<Connector port="8009" protocol="AJP/1.3" redirectPort="8443" URIEncoding="UTF-8"/>