An action responds to a request. Writing an action means subclassing one of the Action classes and then overriding the class's execute method. An ActionForward is returned by the execute method.
The New Struts Action wizard creates a new action. Before you can use the New Struts Action 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 Action wizard by right-clicking a web application, choosing New > Other and selecting Struts Action 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: