java.lang.IllegalArgumentException: Request header is too large 问题
使用servlet,post请求,响应数据太长报错,估计是服务器限制
更改tomcat配置如下,开启传输数据压缩,不限制传输大小
<Connector connectionTimeout="20000" port="70" protocol="HTTP/1.1" redirectPort="8443" maxPostSize="0" compression="on" compressionMinSize="128" useSendfile="false" noCompressionUserAgents="gozilla,traviata" compressableMimeType="text/html,text/xml,text/javascript,application/x-javascript,application/javascript,text/css,text/plain" />

浙公网安备 33010602011771号