The Struts navigation view allows you to both visualize and navigate through a Struts configuration file. In conjunction with the application database, it also allows you to easily access the resources that you reference in your Struts configuration file, including your web pages.
Opening actions, forwards and exceptions
To open an action in the Struts configuration editor
Expand the Action Mappings node
Double-click on the action to open in the Struts configuration editor.
The action will open in the Navigation pane of the Struts configuration editor. The pages which reference the action and the forwards associated with the action will be shown in the diagram as well. The pages which reference the action and the forwards associated with the action will be shown in the diagram as well.
Note: For applications which use multiple struts configuration files, the Struts configuration Navigation pane highlights actions defined in the currently selected struts-config.xml in green and highlights actions defined in another module or struts-config.xml file in gray.
To open a forward in the Struts configuration editor
Expand the Global Forwards node to open a global forward, or expand the Action Mappings node and an action to open a local forward.
Double-click on the forward to open in the Struts configuration editor.
The forward will open in the Navigation pane of the Struts configuration editor. If the path mapped to the forward resolves to a web page, then the navigation from this forward will be shown on the diagram as well.
To open an exception in the Struts configuration editor
Expand the Global Exceptions node to open a global exception, or expand the Action Mappings node and an action to open a local exception.
Double-click on the exception to open in the Struts configuration editor.
The forward will open in the Navigation pane of the Struts configuration editor. If the exception is mapped to a path which resolves to a web page, then the navigation from this exception will be shown on the diagram as well.
Opening web pages
To open a web page being referenced by a forward
Expand the Global Forwards node to open a global forward, or expand the Action Mappings node and an action to open a local forward.
Expand the forward to show the path to which it refers. If the path refers to a valid page and that page contains links or forms, you can expand the page and directly open to the links or forms by double-clicking on the page link or form link node. Alternatively, you can right-click on the path name and select Open to open the referenced page.