1、找到tomcat中的conf文件下的server.xml文件。
2、点击打开后找到
<Connector port="8080" protocol="HTTP/1.1"
connectionTimeout="20000"
redirectPort="8443" />
将其改为
<Connector URIEncoding="UTF-8" port="8080" protocol="HTTP/1.1"
connectionTimeout="20000"
redirectPort="8443" />
时间: 2024-10-08 05:05:01