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 problem with enctype= Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "problem with enctype="multipart/form-data"" Watch "problem with enctype="multipart/form-data"" New topic
Author

problem with enctype="multipart/form-data"

Ja vardhan
Ranch Hand

Joined: May 09, 2005
Posts: 169
Hi,
I am using <html:file> to produce upload functionality and using enctype="multipart/form-data". With this am getting out of memory error. If I remove enctype="multipart/form-data", then am getting "argument type mismatch exception'. As far I know for file uploads enctype should be "multipart/form-data". I dont know what are the other enctype options for file upload.

Now my problem is... if I use enctype="multipart/form-data" , am getting out of memory error and if i remove enctype="multipart/form-data" am getting "argument type mismatch' exception.

Any how I want to clear this out of memory error. Pls tell me what is the solutions for this. What are the other enctype options for file upload?
what might be the exact reason for this out of memory error?
I will be thankful to you if you would like to share your ideas..


Javardhan:
Ja vardhan
Ranch Hand

Joined: May 09, 2005
Posts: 169
Please folks,
Reply ur suggestions...
still we are not able to clear out the problem.

I will be thankful to your reply forever..
sudhakar Tadepalli
Ranch Hand

Joined: Dec 27, 2001
Posts: 130
I am searching old threads. I know i red some threads related to the same issue. Mean while read this.
http://www.experts-exchange.com/Programming/Programming_Languages/Java/Q_21527086.html

Thanks
Sudhakar
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: problem with enctype="multipart/form-data"