This week's book giveaway is in the OCPJP forum.
We're giving away four copies of OCA/OCP Java SE 7 Programmer I & II Study Guide and have Kathy Sierra & Bert Bates on-line!
See this thread for details.
The moose likes Struts and the fly likes HTML table with multi rows and Struts 2 Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of OCA/OCP Java SE 7 Programmer I & II Study Guide this week in the OCPJP forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "HTML table with multi rows and Struts 2" Watch "HTML table with multi rows and Struts 2" New topic
Author

HTML table with multi rows and Struts 2

Pallav Bora
Ranch Hand

Joined: Oct 13, 2009
Posts: 73
Hi ,

I am using struts 2. I have a HTML table where each row has a checkbox. User can select multiple rows. I want to know the rows selected by the user . I would like to know how to achieve this ..

Thanks
David Newton
Author
Rancher

Joined: Sep 29, 2008
Posts: 12617

What isn't working? I'd probably just use a map for the checkbox fields with the ID as the map key.
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
 
subject: HTML table with multi rows and Struts 2