Return-Path: Delivered-To: apmail-jakarta-commons-user-archive@www.apache.org Received: (qmail 51169 invoked from network); 2 Nov 2004 16:56:58 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur-2.apache.org with SMTP; 2 Nov 2004 16:56:58 -0000 Received: (qmail 86696 invoked by uid 500); 2 Nov 2004 16:56:46 -0000 Delivered-To: apmail-jakarta-commons-user-archive@jakarta.apache.org Received: (qmail 86646 invoked by uid 500); 2 Nov 2004 16:56:45 -0000 Mailing-List: contact commons-user-help@jakarta.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: 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 86633 invoked by uid 99); 2 Nov 2004 16:56:45 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests=RCVD_BY_IP,SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (hermes.apache.org: domain of mfncooper@gmail.com designates 64.233.170.198 as permitted sender) Received: from [64.233.170.198] (HELO rproxy.gmail.com) (64.233.170.198) by apache.org (qpsmtpd/0.28) with ESMTP; Tue, 02 Nov 2004 08:56:44 -0800 Received: by rproxy.gmail.com with SMTP id 80so124002rnl for ; Tue, 02 Nov 2004 08:56:42 -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:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:references; b=ggfcU3PWuFVW/u+1/iZFHTLJLjTYSZO9tHjExVWglknUbN8Jq7bnZGkRyDlBlM31IcSuZOB7tPF3xA4T6WO0l+x9MbPjne/G8IVoenKdotmkkwspgSs2wFTBz/3Gu8j7Wor+RqLgBKysseWS6nXRyUuWo8q/U3638K+vx8ODG9k= Received: by 10.38.179.63 with SMTP id b63mr1064613rnf; Tue, 02 Nov 2004 08:56:41 -0800 (PST) Received: by 10.38.179.22 with HTTP; Tue, 2 Nov 2004 08:56:41 -0800 (PST) Message-ID: <16d6c62004110208564f414f61@mail.gmail.com> Date: Tue, 2 Nov 2004 08:56:41 -0800 From: Martin Cooper Reply-To: Martin Cooper To: Dakota Jack Subject: Re: Rename File While Upload Cc: Jakarta Commons Users List In-Reply-To: <9262ac6504110208164099fb45@mail.gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit References: <16d6c620041101131757e9bcec@mail.gmail.com> <9262ac6504110208164099fb45@mail.gmail.com> X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N On Tue, 2 Nov 2004 08:16:04 -0800, Dakota Jack wrote: > On Mon, 1 Nov 2004 13:17:39 -0800, Martin Cooper wrote: > > > > By the way, I strongly recommend moving your FileUpload code into a > > servlet, rather than having binary upload handling in JSP pages, which > > are designed for text-based content. > > > > -- > > Martin Cooper > > I assume, Martin, that you would also recommend equally a Struts > Action subclass? Struts already has file upload functionality built into it (based on Commons FileUpload), so if you're using Struts, you don't need to do anything yourself, beyond using FormFile entries in your ActionForm classes. -- Martin Cooper > Jack > > -- > "You can't wake a person who is pretending to be asleep." > > ~Native Proverb~ > > "Each man is good in His sight. It is not necessary for eagles to be crows." > > ~Hunkesni (Sitting Bull), Hunkpapa Sioux~ > --------------------------------------------------------------------- To unsubscribe, e-mail: commons-user-unsubscribe@jakarta.apache.org For additional commands, e-mail: commons-user-help@jakarta.apache.org