TOMCAT5中文名称的资源显示不出来的问题

需要改一下tomcat的conf/server.xml文件,增加URL编码项即可:

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

你可能感兴趣的:(tomcat,xml)