修改容器配置文件
找到容器(tomcat)的安装目录 conf—server.xml
<Connector port="8080" protocol="HTTP/1.1"
maxThreads="150" connectionTimeout="20000"
redirectPort="8443" URIEncoding="UTF-8"/>
加上URIEncoding="UTF-8" 重新启动服务器就ok了
修改容器配置文件
找到容器(tomcat)的安装目录 conf—server.xml
<Connector port="8080" protocol="HTTP/1.1"
maxThreads="150" connectionTimeout="20000"
redirectPort="8443" URIEncoding="UTF-8"/>
加上URIEncoding="UTF-8" 重新启动服务器就ok了