Return-Path: Delivered-To: apmail-jakarta-commons-user-archive@www.apache.org Received: (qmail 91887 invoked from network); 18 May 2006 22:44:14 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 18 May 2006 22:44:14 -0000 Received: (qmail 9126 invoked by uid 500); 18 May 2006 22:44:09 -0000 Delivered-To: apmail-jakarta-commons-user-archive@jakarta.apache.org Received: (qmail 9067 invoked by uid 500); 18 May 2006 22:44:09 -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 78772 invoked by uid 99); 18 May 2006 22:21:02 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests=HTML_MESSAGE X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: local policy) Message-ID: <000a01c67ac9$b39528f0$99a53509@derrycxp> From: "Derry Cannon" To: Subject: [fileupload] function analogous to request.getParameterValues(paramName) using a ServletFileUpload object? Date: Thu, 18 May 2006 17:23:34 -0500 MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_NextPart_000_0007_01C67A9F.CAA22310" X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2900.2869 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2869 X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N ------=_NextPart_000_0007_01C67A9F.CAA22310 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Hey, there! I'm trying to use a ServletFileUpload object to handle a multipart = form request that uploads an HTML file. However, there are also several = sets of checkboxes on the form, with each set sharing a common name = across its members. When I'm not using a multipart request, I can = normally get all of the values for a given set of checkboxes by calling = request.getParameterValues(checkboxSetName). Unfortunately, it appears = that the parser used by the ServletFileUpload expects each field name to = be unique, so calling item.getString() returns only the last checkbox = value for each set of checkboxes. =20 Two-part question here: 1) Is there a supported way to parallel the = functionality of request.getParameterValues(paramName) using a = ServletFileUpload object, and 2) If not, is there a way to specify a = different parser to be used? Thanks for the help! Derry ------=_NextPart_000_0007_01C67A9F.CAA22310--