File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
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


Win a copy of Java 8 in Action this week in the Java 8 forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "Quick Question on fileupload in Struts2" Watch "Quick Question on fileupload in Struts2" New topic
Author

Quick Question on fileupload in Struts2

Kumar Ala
Ranch Hand

Joined: Apr 30, 2009
Posts: 53
Guys,
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..?

Thanks


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