Your set method has to be an array to pick up all categories.  Sorry for
annoying you if it already is.  :-)

----- Original Message -----
From: "Dirk Zimmermann" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, July 04, 2000 8:57 AM
Subject: checkboxes and beans


> Hi folks,
>
> given the following simple HTML:
>
> <!-- ... -->
> <input type=checkbox name="category" value="5">BMW<br>
> <input type=checkbox name="category" value="6">Porsche<br>
> <input type=checkbox name="category" value="7">Jaguar<br>
> <!-- ... -->
>
> My beans's method setCategory() will be only called with exactly ONE
> value. That is, if I check all cars (BMW, Porsche and Jaguar) my bean
> will only be called this way: setCategory(5).
>
> Am I missing some HTML features?
>
> I'm using tomcat 3.1
>
> --
>                   /// Dirk.
>
>
===========================================================================
> 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