Setting max file upload size

2010-12-29 Thread Anjib Mulepati
I am trying to upload the larger file through my app developed using Struts 1.3.8. I did change the config in struts to upload file upto 3GB but that doesn't work. So now I am trying to find the configuration in Tomcat where I can set the max size for file upload. Is there any? Anjib

Re: Setting max file upload size

2010-12-29 Thread Ronald Klop
Set Connector maxPostSize=very large number / in server.xml. 3 GB might be very large. I don't know if the value is a long or an int in the internals of Tomcat. This is from my live server. Connector port=8080 maxHttpHeaderSize=8192 maxThreads=300 minSpareThreads=25

Re: Setting max file upload size

2010-12-29 Thread André Warnier
And if you are uploading this through a browser form, don't forget that the browser is probably going to encode that file in Base64 encoding, which will roughly inflate the size by 1/3 of the original. I don't know if Tomcat's maxPostSize counts the size prior, or after decoding. Ronald Klop