functionList is a property (LinkedList) of a JavaBean and I implements two interfaces ModelDriven and Prepareble in the Action class. I can display the functionList successfully in the Jsp file but when I click on the Submit button to update the information, in the Action class I receive an null functionList while I expect an list with value that I have changed in the jsp file.
My question is how to get the the list(with the information has been changed) from jsp file and update it to database. What tag should be use to display a list of data and still remain the the changed data in Action class.
For an example of how to do this sort of thing, deploy the struts2-showcase-2.0.6.war file that comes with the download and look at the Person Manager example. In this example, you will see how to create a list of objects that is also updateable. To see the source code, unzip the war file and you will find a src directory inside WEB-INF.