Try the following method of HttpServletRequest (your request object in Jsp):

public java.lang.String[] getParameterValues(java.lang.String name)

-----Original Message-----
From: Loganathan, Kamalesh [mailto:[EMAIL PROTECTED]]
Sent: Thursday, March 09, 2000 11:28 AM
To: [EMAIL PROTECTED]
Subject: Handling CheckBoxes..


I'm having trouble with accessing checkbox values in the jsp. When I get the
value from the checkbox attribute, it just returns the first value, not the
comma(,) separated values. All the checkboxes have the same name in the
table(list). Per HTML standards, it should return comma (,) separated
values.  Have anyone come across this before ?  (I'm using ServletExec 2.1
with JSP 1.0 implementation). Any help is very much appreciated.

Thanks.

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

 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.html
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets

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

 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.html
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets

Reply via email to