Using the Struts Navigation View
The Struts configuration editor's Navigation pane allows you to both visualize
and navigate through a Struts configuration file. 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 Navigation pane:
-
Expand the Action Mappings node

-
Double-click on the action to open in the Struts configuration editor.
-
Click the Navigation tab of the Struts configuration editor. The
action, the pages which reference the action, and the forwards associated
with the action will be shown in the diagram.
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 Navigation pane:
-
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 a forward to open in the Struts configuration editor.
- Click the Navigation tab
of the Struts configuration editor. The forward will be shown in the
diagram. 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 Navigation pane:
-
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 a exception to open in the Struts configuration editor.
-
Click the Navigation tab of the Struts configuration editor.
The exception will be shown in the diagram. 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 or Action
Mappings node.
-
Expand a forward and select a path to which it refers. Click the Page link
to open the JSP.

Still need help? Post a question on the Workshop
newsgroup.