在TOMCAT中的server.xml中的
<Connector中添加两个设置useBodyEncodingForURI="true" //设置POST和GET使用相同编码
URIEncoding="UTF-8" //对URI使用utf-8编码处理
?
<Connector useBodyEncodingForURI="true" URIEncoding="UTF-8" connectionTimeout="20000" maxThreads="150" port="8888" protocol="HTTP/1.1" redirectPort="8443"/>

 

相关文章:

  • 2021-04-13
  • 2021-11-27
  • 2021-08-15
  • 2021-11-14
  • 2022-12-23
  • 2022-12-23
  • 2021-12-22
  • 2021-12-06
猜你喜欢
  • 2022-02-23
  • 2021-11-24
  • 2021-12-04
  • 2021-11-20
  • 2022-01-07
  • 2021-08-10
  • 2021-07-01
相关资源
相似解决方案