This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
The moose likes Struts and the fly likes Assigning dynamic values to checkbox Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "Assigning dynamic values to checkbox" Watch "Assigning dynamic values to checkbox" New topic

Assigning dynamic values to checkbox

Manasa Burle

Joined: Sep 22, 2005
Posts: 1
I have a page which lists the users in the system. I have a checkbox for each of the user which when checked and clicked delete should delete the user. For this i need the id of the user to assign to the checkbox so that i can retrieve ids and then delete.Please give me a solution as to how to achieve this. The id of the user is present in the bean.

I agree. Here's the link:
subject: Assigning dynamic values to checkbox
Similar Threads
EJB and HTTPSession
Check box is not re-rendered after bean execution
html:checkbox tag
checkbox in jsp
How to get checkboxes from request parameter