From commons-user-return-15061-apmail-jakarta-commons-user-archive=jakarta.apache.org@jakarta.apache.org Fri Feb 03 06:27:09 2006 Return-Path: Delivered-To: apmail-jakarta-commons-user-archive@www.apache.org Received: (qmail 93268 invoked from network); 3 Feb 2006 06:27:08 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 3 Feb 2006 06:27:08 -0000 Received: (qmail 2364 invoked by uid 500); 3 Feb 2006 06:27:02 -0000 Delivered-To: apmail-jakarta-commons-user-archive@jakarta.apache.org Received: (qmail 2333 invoked by uid 500); 3 Feb 2006 06:27:01 -0000 Mailing-List: contact commons-user-help@jakarta.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Help: List-Post: List-Id: "Jakarta Commons Users List" Reply-To: "Jakarta Commons Users List" Delivered-To: mailing list commons-user@jakarta.apache.org Received: (qmail 2322 invoked by uid 99); 3 Feb 2006 06:27:01 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 02 Feb 2006 22:27:01 -0800 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: domain of b-skillz@gmx.de designates 213.165.64.21 as permitted sender) Received: from [213.165.64.21] (HELO mail.gmx.net) (213.165.64.21) by apache.org (qpsmtpd/0.29) with SMTP; Thu, 02 Feb 2006 22:27:00 -0800 Received: (qmail invoked by alias); 03 Feb 2006 06:26:38 -0000 Received: from p5091DF06.dip.t-dialin.net (EHLO armer) [80.145.223.6] by mail.gmx.net (mp028) with SMTP; 03 Feb 2006 07:26:38 +0100 X-Authenticated: #2243721 Message-ID: <000701c6288a$cbe1d250$a07ba8c0@armer> From: "benjamin haimerl" To: "Jakarta Commons Users List" References: <64AFECB6EBE66C4D99BFE9D2FB55072B0785C5@AD1HFDEXC309.ad1.prod> <55afdc850602021620n50d5c002safa1b20cc5c1bf5@mail.gmail.com> Subject: Re: [FileUpload] content type header is null Date: Fri, 3 Feb 2006 07:26:39 +0100 MIME-Version: 1.0 Content-Type: text/plain; format=flowed; charset="iso-8859-1"; reply-type=original Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2900.2180 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2180 X-Y-GMX-Trusted: 0 X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N ok. here is an exact copy ;) fileChooser.jsp
----- Original Message ----- From: "Niall Pemberton" To: "Jakarta Commons Users List" Sent: Friday, February 03, 2006 1:20 AM Subject: Re: [FileUpload] content type header is null On 2/2/06, Himmelfarb, Joy (Bond, Bond HO) wrote: > I could use some help, please. > > I am trying to upload a file on my local drive using IE. I have an > of type=file, and other tags as well. > My form tag is
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