You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by Janarthan Sathiamurthy <ja...@yahoo.com> on 2004/02/01 07:37:53 UTC

Checkbox problem

Hi Group,
 
I am using Struts 1.1 version. I have a page in which i display a set of checkboxes(10 checkboxes to be specific). All the checkboxes have the same name and have different values. I have an ActionForm for this. In the ActionForm, i have a String[] checkBoxArr  to represent these checkboxes.
 
I have a condition that i have to check one particular checkbox out of the ten. Some said to set this in the constructor. Please suggest a way for doing this. 
 
Many Thanks,
Janarthan S


---------------------------------
Do you Yahoo!?
Yahoo! SiteBuilder - Free web site building tool. Try it!