解决tomcat URL编码问题的方法:
在D:\tomcat\conf\server.xml 中
<Connector port="8080" protocol="HTTP/1.1" connectionTimeout="20000" redirectPort="8443">
加上
<Connector port="8080" protocol="HTTP/1.1"
connectionTimeout="20000"
redirectPort="8443"
URIEncoding="UTF-8"/>
一共有两处