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.
subject: Maintain table checkboxes state after sorting