Im trying to upload file from a JSP file and I get the following error in catalina.out. As specified in many blogs, I increased the the max-file-size under webapps/manager/WEB-
I had the same problem. I solved it by setting the parameter maxPostSize
in the http server tomcat connector located in
as follows:
Set maxPostSize
to 52428800
increase the upload file size to 50 MB
. By default it's set to 2 MB
.
For more explanation, read this: https://tomcat.apache.org/tomcat-7.0-doc/config/http.html