tomcat URL乱码问题时间:2023-03-09 16:38:24 用get传参时,显示乱码 在tomcat里的server.xml中添加一下即可。 <Connector port="8080" protocol="HTTP/1.1" connectionTimeout="20000" redirectPort="8443" URIEncoding="UTF-8"/>