在server.xml配置文件中,增加
URIEncoding=GBK":
<Connector port="8080"
maxThreads="150" minSpareThreads="25" maxSpareThreads="75"
enableLookups="false" redirectPort="8443" acceptCount="100"
connectionTimeout="20000" disableUploadTimeout="true" URIEncoding="GBK"/>
<!-- Note : To disable connection timeouts, set connectionTimeout value
to 0 -->