I have a jsp having multiple checkboxes in a table. The whole view is being populated dynamically from database(state of checkboxes name of the checkboxes etc.)
I used A model for my form and it contains menuList In have a List of B type which I set manually inside action class. And iterating over the List in jsp and set the status of checkboxes in jsp. The problem is when i click on save button the setter method of menuList should be called but it is showing me menuList as null..
Welcome to the JavaRanch. We are all volunteers here, answering questions in our spare time so we ask that you be patient if someone doesn't drop everything to assist you an hour after you post.
If you want to populate a List from a JSP page, you have to use indexed properties so Struts knows how to rebuild the list (yes, that link is for Struts 1.3, but the principle still applies in Struts 2.x).