jQuery in Action, 2nd edition*
The moose likes Struts and the fly likes Quick Question on fileupload in Struts2 Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "Quick Question on fileupload in Struts2" Watch "Quick Question on fileupload in Struts2" New topic

Quick Question on fileupload in Struts2

Kumar Ala
Ranch Hand

Joined: Apr 30, 2009
Posts: 53
I have a question about struts2 file upload. I am using struts2 fileupload interceptor for my application. Things are smooth until multiple users try to upload larger files and that would throw the JVM error. That is because while uploading file until it gets the full file everthing is stored in the memory. So obviously at some time it reaches the max. size.

Any solution to solve this by setting something like a threshold such that once that size reached it automatically unload from the memory.
Hope you guys got my question..?


I agree. Here's the link: http://aspose.com/file-tools
subject: Quick Question on fileupload in Struts2
Similar Threads
Struts2 FileUpload - request is nulled
Struts2 File Upload Maximum Size
Struts2 & XmlHttpRequest & input_file & Html5
Fileupload + struts2
Struts2: file upload not working