|
For the Struts framework, the entries in the navigation-path descriptor would be registered as global paths and navigational rules.
Global Paths
The global path scheme assigns identifiers to global URL as shown below. (The entries involved should be limited the two shown)
NAVIGATION-PATH DESCRIPTORS |
id |
handler |
result |
from-page-id |
path |
security |
options |
description |
| error |
|
|
|
pages/error.jsp |
|
|
|
These are registered as global forwards in the Struts configuration XML file, As shown below.
<global-forwards>
<forward name="error" path="/pages/error.jsp" />
</global-forwards>
Navigational Rule
The navigational rules provide navigation results for each registered action. The implementation of the navigational rule is demonstrated with the entry in the following descriptor.
NAVIGATION-PATH DESCRIPTORS |
id |
handler |
result |
from-page-id |
path |
security |
options |
description |
| list |
{categoryData} |
list |
! |
pages/categoryList.html |
|
redirect |
|
This would result into an entry in the configuration file,
as shown below.

There are more discussions on this, under the coverage of
the different descriptor attributes.
More details are available in the attributes descriptions
id
from-page-id
handler
result
path
security
options
description
|