- Open the Module Settings dialog box.
- In the Modules node, right-click the relevant module.
- To add a Web facet, choose from the context menu. In the drop-down list of available facets, select .
- Right-click the Web Facet node and select on its context menu.
- Select on the context menu of available facets. The right-hand pane displays the Facet Struts 2 dialog.
- In the File Sets tab, specify the configuration files to validate.
- If some additional libraries are required, the corresponding warning message displays. Click Fix. The necessary libraries will be downloaded and added automatically.
Note
The created Struts 2 configuration file struts.xml is located in the src node.

