...
The default namespace is ""
– an empty string). The default namespace is used as a "catch-all" namespace. If an action configuration is not found in a specified namespace, the default namespace is also be searched. The local/global strategy allows an application to have global action configurations outside of the action element "extends" hierarchy.
...
If a request for /barspace/bar.action
is made, /barspace
namespace is searched and if it is found the bar action is executed, else it will fall back to the default namespace. In the Namespace Example, the bar
action does exists in the barspace
namespace. The {barspace.bar
}} action will be executed, and if "success" is returned, the request will be forwarded to bar2.jsp
.
...