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-INF/web.xml but still I have the same problem...Where should I increase it to resolve this error?
<multipart-config>
<!-- 50MB max -->
<max-file-size>5242880000000</max-file-size>
<max-request-size>5242880000000</max-request-size>
<file-size-threshold>0</file-size-threshold>
</multipart-config>
org.apache.commons.fileupload.FileUploadBase$SizeLimitExceededException: the request was rejected because its size (341297) exceeds the configured maximum (51200)
max-file-size
andmax-request-size
to anything you need. – Bohol