Creating Struts modules

A Struts module is a Struts configuration file and a set of corresponding actions, form beans, and Web pages.

A Struts module is created automatically when you create a Struts project. To create an additional Struts module, complete the following steps:

  1. In the Project Navigator of the Web perspective (Window > Open Perspective > Web), select the name of a project.

  2. On the main menu bar, click File > New > Other.

  3. Select Web and then Struts in the left pane and Struts Module in the right pane.

  4. Click Next. The Create a Struts module window appears.

  5. Type the name of the new Struts module, change any defaults as desired, and click Finish. A Struts configuration file is created.

 

Related concepts

Struts modules
Struts configuration files

 

Related tasks

Creating a dynamic Web project
Adding Struts support to a dynamic Web project
Editing a Struts configuration file

Related reference
Icons used by the Struts Explorer view

Feedback