Doubt in checkboxlist : In assigning each checkbox to different property
posted 6 years ago
How do i assign different property in my controller class for each checkboxes of my checkbox list. Please give me some idea.
Say i'm building a list in my controller class to display the list of checkboxes in jsp like below
And in my jsp
After selecting the checkboxes among Apple / Banana / Grapes in UI, how do i assign or make sure in my controller class which are the checkboxes are selected. I mean how do i assign different property in my controller class for each checkbox.