Return-Path: Delivered-To: apmail-jakarta-commons-user-archive@www.apache.org Received: (qmail 22860 invoked from network); 20 Apr 2005 17:05:34 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 20 Apr 2005 17:05:34 -0000 Received: (qmail 66124 invoked by uid 500); 20 Apr 2005 14:08:33 -0000 Delivered-To: apmail-jakarta-commons-user-archive@jakarta.apache.org Received: (qmail 66110 invoked by uid 500); 20 Apr 2005 14:08:32 -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 66088 invoked by uid 99); 20 Apr 2005 14:08:32 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: pass (hermes.apache.org: local policy) Received: from Unknown (HELO madarrsmtp1.indra.es) (213.170.46.108) by apache.org (qpsmtpd/0.28) with ESMTP; Wed, 20 Apr 2005 07:08:32 -0700 Received: from MADARRMAIL1.indra.es ([192.168.10.182]) by madarrsmtp1.indra.es with Microsoft SMTPSVC(6.0.3790.211); Wed, 20 Apr 2005 16:08:17 +0200 Received: from [192.168.168.19] ([192.168.168.19]) by MADARRMAIL1.indra.es with Microsoft SMTPSVC(6.0.3790.211); Wed, 20 Apr 2005 16:08:17 +0200 Message-ID: <426662B3.4070102@indra.es> Date: Wed, 20 Apr 2005 16:09:55 +0200 From: =?ISO-8859-1?Q?Jos=E9_Antonio_P=E9rez_Testa?= User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8b2) Gecko/20050411 MIME-Version: 1.0 To: Jakarta Commons Users List Subject: Re: FileUpoad: References: <20050420051646.01085D0E400A@barracuda.indra.es> <426619D3.8050805@indra.es> <42661BC9.3030204@tbee.org> <42665C19.3080107@tbee.org> <426660C0.3070909@tbee.org> In-Reply-To: <426660C0.3070909@tbee.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-OriginalArrivalTime: 20 Apr 2005 14:08:17.0125 (UTC) FILETIME=[66363150:01C545B2] X-Virus-Checked: Checked X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N IMO it depends on the position in the form. If the Part containing the hidden field is before the Part containing the broken file there is a chance to get it, if the exception is thrown before this part was processed there is no chance at all. Tom Eugelink wrote: >> A field value from the request? In what you have below, the "field" >> apparently is in a GET, but you cannot use that for a file upload. > > > No, here is the form code in the jsp: > >
> > > "/> >
> > There is a hidden field "id" that get's it value from the request that > opened the jsp. On error I need to reproduce that URL and add an error > code. > > So: > > http://xxx/upload.jsp?id=3 > > will become > > http://xxx/upload.jsp?id=3&error=maxsize > > Tom > > --------------------------------------------------------------------- > 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