...
Code Block | ||||||
---|---|---|---|---|---|---|
| ||||||
<global-results> <result name="login" type="redirect-action">Login</result> <result name="unauthorized" type="action-chain">Unauthorized</result> </global-results> <!-- other package declarations --> </package> |
Note | ||
---|---|---|
| ||
Because global results are searched after local results, you can override any global result mapping by creating a local result mapping of the same name. Results can indicate resources using relative or absolute URIs. Because you may not know the context in which a result is being invoked, it's best to use absolute paths for global results. |
...