lol yeah right, but i already have no problems with the file upload,
Joy started this thread here ;)
I just want to help, by put in my code here ;)

i hope meanwhile he could solve his problem..


----- Original Message ----- From: "Niall Pemberton" <[EMAIL PROTECTED]>
To: "Jakarta Commons Users List" <[email protected]>
Sent: Friday, February 03, 2006 1:01 PM
Subject: Re: [FileUpload] content type header is null


You're missing a quote on the method attribute.

Niall

----- Original Message ----- From: "benjamin haimerl" <[EMAIL PROTECTED]>
Sent: Friday, February 03, 2006 6:26 AM


ok. here is an exact copy ;)
fileChooser.jsp

<form action="fileUpload.jsp" method=post" enctype="multipart/form-data">
<input type="file" name="file">
<input type="submit" >
</form>

----- Original Message ----- From: "Niall Pemberton" <[EMAIL PROTECTED]>
Sent: Friday, February 03, 2006 1:20 AM


On 2/2/06, Himmelfarb, Joy (Bond, Bond HO)
<[EMAIL PROTECTED]> wrote:
> I could use some help, please.
>
> I am trying to upload a file on my local drive using IE.  I have an
> <input> of type=file, and other <input> tags as well.
> My form tag is  <form name=frm action=./MyPage.jsp method=post
> ENCTYPE="multipart/form-data" >  .
> I have implemented the sample code within the jsp and (alternatively) > in
a
> java file.  The result is the same either way -
> "the request doesn't contain a multipart/form-data or multipart/mixed
> stream, content type header is null".


My guess is that your html isn't properly formed - is the above an
exact copy/paste of what you have? If so try putting quotes around
your attribute values - especially the "/MyPage.jsp" - since it
contains a "/". If this isn't copy/patsed from what you have then,
please show the actual code.

Niall

> Any suggestions?
> Thanks
> Joy



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to