Creating Struts configuration files

This documentation describes how to create additional Struts configuration files.

A Struts configuration file is an XML document that describes all or part of a Struts application. A Struts configuration file is created automatically when you create a Struts project or a Struts module. Normally, one configuration file exists for each module. However, compatibility with older versions of the Struts standard, you can have more than one configuration file for the default module.

To create a Struts configuration file, complete the following steps:

  1. In the Project Navigator, right-click the Web content folder.

  2. In the pop-up menu, click New > Other.

  3. In the New window click Web > Struts and then Struts Configuration File.

  4. Click Next. The New Struts Configuration File wizard starts.

  5. In the File Name field, type the name of the Struts configuration file that you want to create, and click Finish.

 

Related concepts

Struts development tools
Struts configuration files

 

Related tasks

Creating well-architected Web applications using Struts
Editing Struts configuration files
Setting preferences for Struts development tools

Related reference
Resolution rules for realizing Web diagram parts

Feedback