当request url过长的时候,经常tomcat后台就会包 “Request header is too large”错误。

解决方法:修改server.xml文件,linux下找到webapps文件夹,find . -name "server.xml",利用vi修改
add/update at the tomcat server xml

<Connector port="8080" protocol="HTTP/1.1" connectionTimeout="20000" redirectPort="8443" maxHttpHeaderSize="65536" maxPostSize="4194304" URIEncoding="UTF-8"/>

相关文章:

  • 2021-07-27
  • 2021-06-24
  • 2022-01-10
  • 2021-10-28
  • 2022-12-23
  • 2021-11-10
猜你喜欢
  • 2021-09-18
  • 2021-06-18
  • 2021-08-19
  • 2022-12-23
  • 2022-12-23
相关资源
相似解决方案