Hello,
Give all the checkboxs the same name in a single form for example cbox
and use
<%
String[] cboxs;
cboxs = request.getParameterValues("cbox");
%>
i think this will solve your problema.



>From: ssmtech <[EMAIL PROTECTED]>
>Reply-To: A mailing list about Java Server Pages specification and
>reference <[EMAIL PROTECTED]>
>To: [EMAIL PROTECTED]
>Subject: Retrieving Multiple values of single Parameter
>Date: Wed, 9 Jan 2002 10:46:58 +0530
>MIME-Version: 1.0
>Received: from [192.18.99.108] by hotmail.com (3.2) with ESMTP id
>MHotMailBE051BBD0073400431CFC012636C88E50; Tue, 08 Jan 2002 21:11:13 -0800
>Received: from swjscmail1 (swjscmail1.Sun.COM [192.18.99.107])by
>swjscmail2.java.sun.com (Postfix) with ESMTPid 0C66C2130A; Tue,  8 Jan 2002
>22:08:47 -0700 (MST)
>Received: from JAVA.SUN.COM by JAVA.SUN.COM (LISTSERV-TCP/IP release 1.8d)
>with          spool id 1005571 for [EMAIL PROTECTED]; Tue, 8 Jan
>2002          22:07:56 -0700
>Received: from smtp.roltanet.com (smtp.rolta.net [202.60.128.27]) by
>   swjscmail1.java.sun.com (Postfix) with SMTP id 63A724814 for
><[EMAIL PROTECTED]>; Tue,  8 Jan 2002 22:07:53 -0700 (MST)
>Received: (qmail 23572 invoked from network); 9 Jan 2002 05:09:49 -0000
>Received: from unknown (HELO computer1) (202.60.132.49) by smtpd with SMTP;
>9          Jan 2002 05:09:49 -0000
>From [EMAIL PROTECTED] Tue, 08 Jan 2002 21:11:59 -0800
>Delivered-To: [EMAIL PROTECTED]
>X-Priority: 3
>X-MSMail-Priority: Normal
>X-Mailer: Microsoft Outlook Express 5.50.4133.2400
>X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4133.2400
>Message-ID:  <00d001c198cc$ddd48f90$0100a8c0@computer1>
>Sender: A mailing list about Java Server Pages specification and reference
><[EMAIL PROTECTED]>
>
>Hello All,
>
>            I have a JSP page with a list of Customers along with there
>respective Checkboxes.
>        The values contained in the Checkboxes are CustomerId's of the
>respective Customers.
>        After checking the Checkboxes i have a Link "Actions" which opens a
>new Page.
>        I am trasfering the checked values(CustomerId's) to this new Page
>through the "URL".
>        For Example,  URL=CustomerId=1&CustomerId=2&CustomerId=3... and so
>on.
>
>            So my problem is How do I catch Multiple Values of a single
>parameter to this
>         new page.Also i need to Submit these values in the Backend.
>
>Sameer




_________________________________________________________________
Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp.

===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST".
Some relevant FAQs on JSP/Servlets can be found at:

 http://archives.java.sun.com/jsp-interest.html
 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.jsp
 http://www.jguru.com/faq/index.jsp
 http://www.jspinsider.com

Reply via email to