title: Spring MVC and Checkboxes
body: <p>I'm using Spring MVC 3.0 and can't quite see all the parts to this problem: my controller will produce a list of domain objects. Let's say a simple User object with firstName, lastName, age, and role properties. I want to output that list of users in a table (one column per property), each row also having a checkbox which are all selected by default. The person using the page can then potentially deselect some of them. When they hit the submit button, I'd like to be able to take the list of selected users and do something with them.</p>
  
  <p>I know there is a form:checkboxes tag in Spring, but I can't quite see how to use it and how to get the results in the controller.</p>
  
  <p>Any help or suggestions?</p>