how to get checkbox values

i have a group of checkbox forms...after i post it i can read only the first checked value with request.getParameter() method...the rest of the checked values are lost...how am igoing to read all the checked values?thank you
[252 byte] By [netsonicca] at [2007-10-3 0:36:29]
# 1

Straight from the Javadocs for the ServletRequest API:

You should only use this method when you are sure the parameter has only one value. If the parameter might have more than one value, use getParameterValues(java.lang.String).

If you use this method with a multivalued parameter, the value returned is equal to the first value in the array returned by getParameterValues

Do you read the API documentation? You should.

http://java.sun.com/javaee/5/docs/api/

warnerjaa at 2007-7-14 17:30:16 > top of Java-index,Java Essentials,New To Java...