java.io.IOException: Posted content length of 1130270 exceeds limit of 1048576 -
this question has answer here:
- form large exception 15 answers
while uploading file more 1 mb getting error.
java.io.ioexception: posted content length of 1130270 exceeds limit of 1048576 com.oreilly.servlet.multipart.multipartparser.<init>(multipartparser.java:172) com.oreilly.servlet.multipartrequest.<init>(multipartrequest.java:222) com.oreilly.servlet.multipartrequest.<init>(multipartrequest.java:109) com.oreilly.servlet.multipartrequest.<init>(multipartrequest.java:89) org.apache.jsp.jsp.test_jsp._jspservice(test_jsp.java:211) org.apache.jasper.runtime.httpjspbase.service(httpjspbase.java:94) javax.servlet.http.httpservlet.service(httpservlet.java:802) org.apache.jasper.servlet.jspservletwrapper.service(jspservletwrapper.java:324) org.apache.jasper.servlet.jspservlet.servicejspfile(jspservlet.java:292) org.apache.jasper.servlet.jspservlet.service(jspservlet.java:236) javax.servlet.http.httpservlet.service(httpservlet.java:802)
can tell can find limit? how change it?
thanks in advance
um, read manual?
http://www.servlets.com/cos/javadoc/com/oreilly/servlet/multipart/multipartparser.html
every constructor of class takes limit, should able set easily. if framework hiding creation of multipartparser, you'll have let know framework if you.
Comments
Post a Comment