This week's book giveaway is in the Android forum.
We're giving away four copies of Head First Android and have Dawn & David Griffiths on-line!
See this thread for details.
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

Win a copy of Head First Android this week in the Android forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "problem with enctype="multipart/form-data"" Watch "problem with enctype="multipart/form-data"" New topic

problem with enctype="multipart/form-data"

Ja vardhan
Ranch Hand

Joined: May 09, 2005
Posts: 169
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..

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.

It is sorta covered in the JavaRanch Style Guide.
subject: problem with enctype="multipart/form-data"
It's not a secret anymore!