Return-Path: Delivered-To: apmail-jakarta-commons-user-archive@www.apache.org Received: (qmail 73317 invoked from network); 5 Jan 2006 18:51:06 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 5 Jan 2006 18:51:06 -0000 Received: (qmail 85264 invoked by uid 500); 5 Jan 2006 18:51:00 -0000 Delivered-To: apmail-jakarta-commons-user-archive@jakarta.apache.org Received: (qmail 85191 invoked by uid 500); 5 Jan 2006 18:51:00 -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 85176 invoked by uid 99); 5 Jan 2006 18:50:59 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 05 Jan 2006 10:50:59 -0800 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests=HTML_MESSAGE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: domain of chachany@gmail.com designates 64.233.162.194 as permitted sender) Received: from [64.233.162.194] (HELO zproxy.gmail.com) (64.233.162.194) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 05 Jan 2006 10:50:59 -0800 Received: by zproxy.gmail.com with SMTP id 8so3274072nzo for ; Thu, 05 Jan 2006 10:50:38 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:reply-to:to:subject:in-reply-to:mime-version:content-type:references; b=gpmvZScFX5nXTY3AJcWPSiAUGD/oaVXTTPy0KhLmH+Q6fQ9+s6pnh0m/5b8QRKFq7LL+CHUx9Q6PzWniVphFbWM9yiYCIGvdbA2yX8FmiIDxcZ0Y5CahQp3cqRgnpQ5BL2Gk52jDgbWx7CakyHgeCvREXPBYxzKRXduwwaVeTyo= Received: by 10.36.227.48 with SMTP id z48mr7230992nzg; Thu, 05 Jan 2006 10:50:38 -0800 (PST) Received: by 10.36.139.10 with HTTP; Thu, 5 Jan 2006 10:50:38 -0800 (PST) Message-ID: <8aef647c0601051050r23a11dbfg183d8f31025dca7d@mail.gmail.com> Date: Thu, 5 Jan 2006 13:50:38 -0500 From: David Johnson Reply-To: ChaChaNY@GMail.com To: Jakarta Commons Users List Subject: Re: File Upload Usage Question In-Reply-To: <9f066ee90601040636nf29d304s9c4a78df4dd7fa92@mail.gmail.com> MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_16325_5440385.1136487038541" References: <8aef647c0601030857y68ff296cjf86f20926ba2d08f@mail.gmail.com> <9f066ee90601040636nf29d304s9c4a78df4dd7fa92@mail.gmail.com> X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N ------=_Part_16325_5440385.1136487038541 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Mark essentially, in my form handler, I'm doing the following.... and its tellin= g me that the form is NOT multipart boolean isMultipart =3D FileUpload.isMultipartContent(request); if (isMultipart){ System.out.println("Form is multipart"); }else{ System.out.println("Form is NOT multipart"); } a snippet from my JSP is as follows < form name=3D"form" method=3D"POST" enctype=3D"multipart/form-data"> I'm really wondering why that might be... given that you can clearly see in my jsp that its multipart. On 1/4/06, Mark wrote: > > I guess I am confused as to which file you are talking about. Are you > uploading a file to a servlet/JSP page ? If so, commons-fileupload shoul= d > provide all the information you need. > > On 1/3/06, David Johnson wrote: > > > > Hi all > > > > I'm looking for a little guidance on the usage of fhe FileUpload > > component > > to see if it can meet my needs on my application. Essentially, I have a= n > > application that (in the session) knows the location of a file which I > > Ideally would like to move to another "common" location, such as under > > the > > web server itself. > > > > Does the file upload allow that sort of thing? The file itself isn't a > > part > > of the form, but I do have the file system location of the file.. > > > > Thoughts? > > -- > > -Dave > > ChaChaNY@Gmail.com > > > > > -- -Dave ChaChaNY@Gmail.com ------=_Part_16325_5440385.1136487038541--