This week's book giveaway is in the OCAJP 8 forum. We're giving away four copies of OCA Java SE 8 Programmer I Study Guide and have Edward Finegan & Robert Liguori on-line! See this thread for details.
Table with say 50 rows & 8 columns(3 sortable) where as each row has unique id which assigned to each checkbox. When some checkboxes selected say '5' & perform sorting, need to maintain a selected checkboxes state.
 Data is acquired from model layer in concern action class.
 Populating bean object with 50 row's data <note bean class is having property name(s) for each column(s)>
 Please note bean object does not have any property for checkbox column.
 Bean object(s) is added to ArrayList in action & set in request scope.
 Corresponding Jsp iterates the bean object(s) which set in request scope & display it (including checkbox).
In this case, how i can maintain the state of checkboxes after sorting? I am not sure whether the above developed flow is correct or not since am not using the form properly. However, I have searched in this regard in java ranch forum & net. Still i didnt get proper solution. can anybody share a better example for this which will help lots of people.