File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Struts and the fly likes struts html checkbox and radio Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "struts html checkbox and radio" Watch "struts html checkbox and radio" New topic

struts html checkbox and radio


Joined: Sep 13, 2007
Posts: 15
Dear Freinds,

I am new to Struts application. I don't know how to set array values set into the checkbox and radio button tag. I get values from database and set the values into array list. I set this set of array list values into jsp page checkbox or radio button option. I don't know how to set it. Please any body help me. Pls give an example code for this.
Brent Sterling
Ranch Hand

Joined: Feb 08, 2006
Posts: 948
Gopnan: Thanks for stopping by the ranch. I appreciate helping out people that are new to Struts but really, did you try searching the Internet for phrases like "struts checkbox" "struts checkbox example"? You will likely find your answer very quickly. If you have tried a few things and you still cannot get it working then post your code and somebody can help out. In the mean time you could update your display name to meet the site policy (first and last name).

- Brent
I agree. Here's the link:
subject: struts html checkbox and radio
It's not a secret anymore!