IntelliJ IDEA 13.1 Web Help

Some features described here are available in Ultimate edition only.

The structure of a Struts application including numerous Struts elements and the interaction between them is defined in the Struts configuration file struts-config.xml. The Struts configuration file is created automatically when you enable Struts support for a module.

With IntelliJ IDEA, you can edit the struts-config.xml in the Struts Assistant tool window, which provides three synchronized views: the Structure Tree, the Properties Table, and the Struts Web Flow Diagram.

To define the structure of a Struts application, create and edit the necessary Struts elements and specify interaction among them using the Struts Assistant tool window, tab Struts. This dedicated tool window provides three synchronized views:

  • the Structure Tree to add, edit, and remove Struts elements.
    strutsAssistantStrutsTabStructureTree
    Click thumbnail to view larger image.
  • the Properties Table to specify the values of elements and their attributes.
    strutsAssistantStrutsPropertiesTable
    Click thumbnail to view larger image.
  • the Struts Web Flow Diagram to navigate through the Struts application structure.
    strutsAssistantStrutsWebFlowDiagramSmall
    Click thumbnail to view larger image.

IntelliJ IDEA provides the facilities for managing the following Struts elements according to the common procedure:

Managing tiles and validators in a friendly interface requires that you enable support of them first.

See Also

Procedures:

Reference:

Web Resources: