Let's take a look at the Strtuts configuration file struts-config.xml


You will see the definition of the DynaActionForm which has properties for all the values that we defined during its creation. The DynaActionForm is a data holder for the values that are needed to be passed from the view to the business logic and back to the view.




You can see the form-bean definition which associates our LibraryAction with the libraryForm and also the path that it will map to and the JSP to forward to on success.


You can download this file here


                    

Copyright © 2013 VisualBuilder. All rights reserved