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-
This is configured in web.xml
for the manager app.
Ex:
HTMLManager
org.apache.catalina.manager.HTMLManagerServlet
debug
2
52428800
52428800
0
https://github.com/apache/tomcat/blob/7.0.x/webapps/manager/WEB-INF/web.xml#L56-L57
The manager app uses the Servlet 3.0 API. If you're using commons file upload directly, it's up to you and you need to configure this manually.