I am trying to upload a file through my JAVA Struts 1.1 Application. Using the Tomcat Server. The problem I was facing was : file size was greater than the default size of the Tomcat allowed size. So we need to change the "maxPostSize" parameter of server.xml
After changing the maxPostSize and the connectionTimeout in Server.xml, the issue is resolved. However what if we do not have the permission to make changes to server.xml
Is there a way around for this through Java code. Any way by which we can overwrite the "maxPostSize" parameter of server.xml any way I can cofigure my application to ignore the Tomcat Size and take the specified size limit.
Please Help!