http://www.cnblogs.com/seabird1979/p/4837237.html
Tomcat中配置URIEncoding="UTF-8"来处理中文的处理
打开 server.xml 文件,更改两个地方。

配置一:添加 URIEncoding="UTF-8"

<Connector URIEncoding="UTF-8" connectionTimeout="20000" port="8081" protocol="HTTP/1.1" redirectPort="8443"/>

配置二:添加 URIEncoding="UTF-8"

<Connector URIEncoding="UTF-8" port="8009" protocol="AJP/1.3" redirectPort="8443"/>

配置后重启tomcat。

相关文章:

  • 2021-06-24
  • 2022-12-23
  • 2022-02-06
  • 2022-12-23
  • 2021-06-12
  • 2021-06-02
  • 2022-12-23
猜你喜欢
  • 2022-12-23
  • 2022-12-23
  • 2021-12-10
  • 2021-10-12
  • 2022-12-23
  • 2022-12-23
相关资源
相似解决方案