Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Code Block
formatxml
titlestruts.xml
borderStylesolid
   <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
titleGlobal Absolutes

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.

...