当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"/>