IntelliJ IDEA 12.1.0 Web Help
Some features described here are available in Ultimate edition only.
Struts 2 elements
like actions, results, and interceptors as well as interaction between them
is defined in the
section of the
The file is created automatically when
enable Struts 2 support
for a module.
IntelliJ IDEA provides you with a friendly interface for editing
both in the text view and in diagram.
in the project view and click
in the bottom of the window.
- Switch to the Project tool window and select
- Right-click the
node and select in the context menu. Then select the relevant
element type. The
dialog box opens.
- Specify the element data and click OK. A new element is created and displayed in the
project tree. The corresponding source code is generated in the struts.xml.
- In the Project tool window, select the element in the project tree. Then select
in the context menu.
- Switch to the struts.xml and make the necessary changes manually.