commons-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "benjamin haimerl" <b-ski...@gmx.de>
Subject Re: [FileUpload] content type header is null
Date Fri, 03 Feb 2006 22:30:55 GMT
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" <niall.pemberton@blueyonder.co.uk>
To: "Jakarta Commons Users List" <commons-user@jakarta.apache.org>
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" <b-skillz@gmx.de>
> 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" <niall.pemberton@gmail.com>
>> Sent: Friday, February 03, 2006 1:20 AM
>>
>>
>> On 2/2/06, Himmelfarb, Joy (Bond, Bond HO)
>> <Joy.Himmelfarb@thehartford.com> 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: commons-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: commons-user-help@jakarta.apache.org
> 


---------------------------------------------------------------------
To unsubscribe, e-mail: commons-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-user-help@jakarta.apache.org


Mime
View raw message