<Connector acceptCount="100" connectionTimeout="20000" disableUploadTimeout="true" enableLookups="false" maxHttpHeaderSize="8192" maxSpareThreads="75" maxThreads="150" minSpareThreads="25" port="80" redirectPort="8443" URIEncoding="UTF-8"  />

Edit conf/server.xml and find the line where the Coyote HTTP Connector is defined. Add a URIEncoding="UTF-8 like above.

By default, Tomcat uses ISO-8859-1 character encoding. So, you need to change it to use UTF8 uriencoding with Tomcat.

For other information, If you use eclipse IDE, you may fail to use UTF8 tomcat. At the time, you should clean WTP cache.

Posted by 김용환 '김용환'

댓글을 달아 주세요