New Struts Action Wizard: Name and Location

See Also

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:

If you click Next, you can let the IDE associate an existing actionform bean with the action. If you click Finish, the action is created on your computer and opened in the IDE.
See Also
About Struts Framework Support
Creating a New Application with Struts Support
Adding Struts Support to an Existing Application
About Web Application Frameworks

Legal Notices