tomcat configuration to solve Chinese garbled characters

If the form is submitted in get mode, there will be Chinese garbled characters.
At this time , you can configure tomcat to solve the Chinese garbled problem. The method is as follows:
find the place where the server.xml file is located in the conf under the conf folder of tomcat <Connector port="8081" protocol="HTTP/1.1"
connectionTimeout="20000"
redirectPort="8443" URIEncoding=" UTF-8"/>
is ok

Guess you like

Origin http://10.200.1.11:23101/article/api/json?id=326934210&siteId=291194637