my dog learned polymorphism*
The moose likes Struts and the fly likes out of memory error while file uploading Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "out of memory error while file uploading" Watch "out of memory error while file uploading" New topic
Author

out of memory error while file uploading

Ja vardhan
Ranch Hand

Joined: May 09, 2005
Posts: 169
Hi,
I have file upload functionality in my application, so am using formFile.
I am getting out of memory with that formFile element, even when am not uploading any file and simply trying to move onto next screen, its showing out of memory error.
I came to know that we can use 'controller' element in struts-config.xml for these type of issues. How can we do it? Waht about 'org.apache.struts.config.ControllerConfig' class? we need to use this class if we have specified 'controller' element in struts-config.xml?

whats the use of 'ContollerConfig' class and 'controller' element in xml?
we need to use both or what? any code snippest will be helpful..
Plz reply ASAP.
Thanks in advance.


Javardhan:
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: out of memory error while file uploading
 
Similar Threads
forwards in struts
Front Controller
Session Management - Serialization
Security Issues with File Upload
How to convert FormFile into BLOB object?