Child pages
  • How do we configure an Interceptor to be used with every Action
Skip to end of metadata
Go to start of metadata

Any given action mapping can create an "ad-hoc" interceptor stack

Or, we can create our own named stacks and even declare a new default interceptor stack for a package

Packages can extend other packages. If all the other packages in your application extend "default", then they will all inherit the new default interceptor.

(lightbulb) See also Configuring Interceptors, and the layout of the struts-default package. The struts-default package is automatically included into the base configuration. Anything we do in the struts-default package, you can do in your own packages.

  • No labels