By default Struts 2 limits the file upload to [u]2MB[/u] even if the limit is higher in tomcat.
In order to increase the limit just add the following to [u]struts.xml[/u]:
[code]<struts>
<constant name="struts.multipart.maxSize" value="31457280" />
</struts>
[/code]
You're now able to upload files up to [u]30MB[/u].
Développeur, web-designer, gamer... J’ai développé ce blog pour regrouper mes envies, mes créations et les choses que j’aimerais partager sans vraiment savoir où les mettre. Bienvenue dans mon monde !