1、找到:apache-tomcat-xxx/conf/server.xml
2、找到:<Connector port="8080" protocol="HTTP/1.1" onnectionTimeout="20000" redirectPort="8443" URIEncoding="utf-8"/>
3、红色部分为新增部分,指定编码。
1、找到:apache-tomcat-xxx/conf/server.xml
2、找到:<Connector port="8080" protocol="HTTP/1.1" onnectionTimeout="20000" redirectPort="8443" URIEncoding="utf-8"/>
3、红色部分为新增部分,指定编码。