<Connector port="8080" maxHttpHeaderSize="8192" minProcessors="10" maxProcessors="100"
maxThreads="150" minSpareThreads="25" maxSpareThreads="75" debug="0"
enableLookups="false" redirectPort="8443" acceptCount="100"
connectionTimeout="20000" disableUploadTimeout="true" URIEncoding="UTF-8" useBodyEncodingForURI="true"/>
如上修改tomcat的service.xml文件对应的Connector元素的内容,可以解决乱码问题