RE: Resin stallingHi,
I know this is off topic a little but I would appreciate any pointers here.
I want to be able to process an HTML form that has several checkbox form elements that have the same name but a different value with a JSP. For example the HTML form:
<form action="checkTest.jsp">
This guy is a jerk:
<input type="checkbox" name="Ajerk" value="jerk" checked>
<input type="checkbox" name="Ajerk" value="bigJerk" checked>
<input type="submit">
</form>
And my JSP page to process the form thus far is:
String aJerk[] = request.getParameters("Ajerk");
for(int i=0;i<aJerk.length; i++) {
if(aJerk.element(i) != null) {
// How can I extract each value to assign them to variables?
}
Thanks,
Stefan
Received on Wed 05 Sep 2001 15:45:35 -0700
This archive was generated by hypermail 2.1.8 : Thu Sep 28 2006 - 20:16:44 PDT