Keep in mind that if a checkbox is not checked, then NO value at all will be
passed by that element. For example:
<input type="checkbox" name="foo" value="true">
If the checkbox is checked, then request.getParameter("foo") will be "true".
However, if it is not checked then request.getParameter("foo") will be null.
You probably need to check for this case and populate chkValues[]
accordingly.
HTH-
jmc
===========================================================================
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