1、打开tomcat安装目录
2、打开conf文件夹找到server.xml并打开
3、找到
<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"/>