Declare boolean type of variable in your action class for each of the
checkbox. Make sure you have generated the getters/setters. If you have
selected the checkbox, framework will set the corresponding var to true and
if not it will set it to false.
HTH


-----Original Message-----
From: m.harig [mailto:m.ha...@gmail.com] 
Sent: Monday, January 12, 2009 7:38 AM
To: user@struts.apache.org
Subject: checkbox doubt


hello all

               this is my doubt. i've five checkboxes . how do i check three
checkboxes is checked among these five checkboxes

                 <input type="checkbox" name="one" >
                 <input type="checkbox" name="two" checked="true">
                 <input type="checkbox" name="three" checked="true">
                 <input type="checkbox" name="four" checked="true">
                 <input type="checkbox" name="five" >

how do i do it in struts . please anyone help me
-- 
View this message in context:
http://www.nabble.com/checkbox-doubt-tp21414570p21414570.html
Sent from the Struts - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
For additional commands, e-mail: user-h...@struts.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
For additional commands, e-mail: user-h...@struts.apache.org

Reply via email to