tomcat 在URL中有汉字时乱码解决方法

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

加上:URIEncoding="UTF-8" zai server.xml limain

你可能感兴趣的:(tomcat)