1. JSP shows Chinese garbled problems.
Tomcat 5.5 / conf / web.xml
Add to the
code show as below:
init-param>
init-param>
servlet>
2. The path contains the Chinese characters cannot be resolved, that is, there is a Chinese directory in the website.
Tomcat 5.5 / Conf / Server.xml
Port = "8080" MaxHttpheadersize = "8192" Maxthreads = "150" MINSPARETHREADS = "25" maxsparethreads = "75" Enablelookups = "false" redirectport = "8443" acceptcount = "100" ConnectionTimeout = "20000" DisableUploadTimeout = "True" Uriencoding = "UTF-8" /> Where uriencoding is the attribute of setting the website encoding, the encoding is the same as the web page encoding, with UTF-8, GBK, etc.