当前位置: 代码迷 >> Java Web开发 >> 关于jsp中form表单提交大数据有关问题
  详细解决方案

关于jsp中form表单提交大数据有关问题

热度:8378   发布时间:2013-02-25 21:20:57.0
关于jsp中form表单提交大数据问题
在一个SSH项目里,一个jsp页面上一段代码如下
<form id="test-form" action="test.do" METHOD="POST">
  <input type="hidden" name="ids" id="ids" value=""/>
  <input type="hidden" name="method" value="doTest"/>
</form>

然后通过jquery提交表单
$("#ids").val("dhddunfidnndsndnkjdnkjnjdjnjdfnfjdsjdfnjsn很多大红色的是今年打算眷念三阶静空间的设计简单打算将空间dhddunfidnndsndnkjdnkjnjdjnjdfnfjdsjdfnjsn很多大红色的是今年打算眷念三阶静空间的设计简单打算将空间dhddunfidnndsndnkjdnkjnjdjnjdfnfjdsjdfnjsn很多大红色的是今年打算眷念三阶静空间的设计简单打算将空间dhddunfidnndsndnkjdnkjnjdjnjdfnfjdsjdfnjsn很多大红色的是今年打算眷念三阶静空间的设计简单打算将空间----dhddunfidnndsndnkjdnkjnjdjnjdfnfjdsjdfnjsn很多大红色的是今年打算眷念三阶静空间的设计简单打算将空间dhddunfidnndsndnkjdnkjnjdjnjdfnfjdsjdfnjsn很多大红色的是今年打算眷念三阶静空间的设计简单打算将空间dhddunfidnndsndnkjdnkjnjdjnjdfnfjdsjdfnjsn很多大红色的是今年打算眷念三阶静空间的设计简单打算将空间dhddunfidnndsndnkjdnkjnjdjnjdfnfjdsjdfnjsn很多大红色的是今年打算眷念三阶静空间的设计简单打算将空间dhddunfidnndsndnkjdnkjnjdjnjdfnfjdsjdfnjsn很多大红色的是今年打算眷念三阶静空间的设计简单打算将空间dhddunfidnndsndnkjdnkjnjdjnjdfnfjdsjdfnjsn很多大红色的是今年打算眷念三阶静空间的设计简单打算将空间dhddunfidnndsndnkjdnkjnjdjnjdfnfjdsjdfnjsn很多大红色的是今年打算眷念三阶静空间的设计简单打算将空间dhddunfidnndsndnkjdnkjnjdjnjdfnfjdsjdfnjsn很多大红色的是今年打算眷念三阶静空间的设计简单打算将空间dhddunfidnndsndnkjdnkjnjdjnjdfnfjdsjdfnjsn很多大红色的是今年打算眷念三阶静空间的设计简单打算将空间dhddunfidnndsndnkjdnkjnjdjnjdfnfjdsjdfnjsn很多大红色的是今年打算眷念三阶静空间的设计简单打算将空间dhddunfidnndsndnkjdnkjnjdjnjdfnfjdsjdfnjsn很多大红色的是今年打算眷念三阶静空间的设计简单打算将空间dhddunfidnndsndnkjdnkjnjdjnjdfnfjdsjdfnjsn很多大红色的是今年打算眷念三阶静空间的设计简单打算将空间dhddunfidnndsndnkjdnkjnjdjnjdfnfjdsjdfnjsn很多大红色的是今年打算眷念三阶静空间的设计简单打算将空间dhddunfidnndsndnkjdnkjnjdjnjdfnfjdsjdfnjsn很多大红色的是今年打算眷念三阶静空间的设计简单打算将空间dhddunfidnndsndnkjdnkjnjdjnjdfnfjdsjdfnjsn很多大红色的是今年打算眷念三阶静空间的设计简单打算将空间dhddunfidnndsndnkjdnkjnjdjnjdfnfjdsjdfnjsn很多大红色的是今年打算眷念三阶静空间的设计简单打算将空间dhddunfidnndsndnkjdnkjnjdjnjdfnfjdsjdfnjsn很多大红色的是今年打算眷念三阶静空间的设计简单打算将空间dhddunfidnndsndnkjdnkjnjdjnjdfnfjdsjdfnjsn很多大红色的是今年打算眷念三阶静空间的设计简单打算将空间dhddunfidnndsndnkjdnkjnjdjnjdfnfjdsjdfnjsn很多大红色的是今年打算眷念三阶静空间的设计简单打算将空间dhddunfidnndsndnkjdnkjnjdjnjdfnfjdsjdfnjsn很多大红色的是今年打算眷念三阶静空间的设计简单打算将空间dhddunfidnndsndnkjdnkjnjdjnjdfnfjdsjdfnjsn很多大红色的是今年打算眷念三阶静空间的设计简单打算将空间dhddunfidnndsndnkjdnkjnjdjnjdfnfjdsjdfnjsn很多大红色的是今年打算眷念三阶静空间的设计简单打算将空间dhddunfidnndsndnkjdnkjnjdjnjdfnfjdsjdfnjsn很多大红色的是今年打算眷念三阶静空间的设计简单打算将空间dhddunfidnndsndnkjdnkjnjdjnjdfnfjdsjdfnjsn很多大红色的是今年打算眷念三阶静空间的设计简单打算将空间dhddunfidnndsndnkjdnkjnjdjnjdfnfjdsjdfnjsn很多大红色的是今年打算眷念三阶静空间的设计简单打算将空间");
$("#test-form").submit();

出现以下错误

2012-5-8 16:31:15 org.apache.catalina.connector.CoyoteAdapter service
严重: An exception or error occurred in the container during the request processing
java.lang.ArrayIndexOutOfBoundsException: 8192
at org.apache.coyote.http11.InternalOutputBuffer.write(InternalOutputBuffer.java:714)
at org.apache.coyote.http11.InternalOutputBuffer.write(InternalOutputBuffer.java:621)
at org.apache.coyote.http11.InternalOutputBuffer.sendHeader(InternalOutputBuffer.java:494)
at org.apache.coyote.http11.Http11Processor.prepareResponse(Http11Processor.java:1600)
at org.apache.coyote.http11.Http11Processor.action(Http11Processor.java:935)
at org.apache.coyote.Response.action(Response.java:183)
at org.apache.coyote.Response.sendHeaders(Response.java:379)
at org.apache.catalina.connector.OutputBuffer.doFlush(OutputBuffer.java:305)
at org.apache.catalina.connector.OutputBuffer.close(OutputBuffer.java:273)
at org.apache.catalina.connector.Response.finishResponse(Response.java:492)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:310)
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:845)
at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583)
at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)
at java.lang.Thread.run(Thread.java:619)
2012-5-8 16:31:15 org.apache.coyote.http11.Http11Processor process
严重: Error finishing response
  相关解决方案