An actionform bean acts as a bridge between a JSP page and a Struts action. It captures user input from the JSP pages and delivers it to the action. An actionform bean can also validate the input before passing it on to the action.
The New Struts ActionForm Bean wizard creates a new actionform bean. Before you can use the New Struts ActionForm Bean wizard, you must have a Struts configuration file. To create a Struts configuration file quickly and efficiently, right-click the project node, choose Properties and use the Frameworks panel. Not only does this provide you with a Struts configuration file, but you also get the Struts libraries and supporting files.
Once you have a Struts congfiguration file, you open the New Struts ActionForm Bean wizard by right-clicking a web application, choosing New > Other and selecting Struts ActionForm Bean from the Struts category.
In the Name and Location page, you set the following properties:
After you complete the wizard, you can use the following dialog boxes to add entries in struts-config.xml: