struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Christoph Nenning <Christoph.Nenn...@lex-com.net>
Subject Re: Allow max. file upload size of more than 2gb in struts 2
Date Wed, 09 Dec 2015 12:32:06 GMT
> Hello,
> I am using Struts 2.1 in my project. For the file upload process, is
> it possible to supersede the normal 2 gb file limit for struts2.The 
> struts.xml maxsize element in my project is as follows :
> &nbsp;&lt;constant name="struts.multipart.maxSize" &nbsp; &nbsp; 
> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; value="2147483648"
/&gt;
> Please update me the process to allow more than 2gb (Upto 3 or 4 gb)
> file uploads in struts 2.1.
> Thanks,Saurabh&nbsp;


Usually application-servers or servlet-containers have their own max size 
limit. Have you checked that?

E.g. tomcat has a parameter maxPostSize (if you are using that one):

http://tomcat.apache.org/tomcat-8.0-doc/config/http.html


Regards,
Christoph


This Email was scanned by Sophos Anti Virus

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message