hi

Just declare a property field with the datatype as array like

String[] mycheckBox

It will automatically populate all of the checkbox selected into the array
property


Regards
Gary
----- Original Message -----
From: "vasudevrao gupta" <[EMAIL PROTECTED]>
To: "'Struts Users Mailing List'" <[EMAIL PROTECTED]>
Sent: Thursday, December 18, 2003 10:30 AM
Subject: Check-boxes and formbeans


>
> Hi All,
> I have many checkboxes with the same name in my html form. I use struts
> framework. When i submit the form, will i be able to access the
> checkboxes as an array in the form bean? Or should i have a seperate
> field for each checkbox in the formbean?
>
> Regards
> Vasudevrao gupta
>
>
> Confidentiality Notice
>
> The information contained in this electronic message and any attachments
to this message are intended
> for the exclusive use of the addressee(s) and may contain confidential or
privileged information. If
> you are not the intended recipient, please notify the sender at Wipro or
[EMAIL PROTECTED] immediately
> and destroy all copies of this message and any attachments.
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to