Yanto wrote:
<action name="test" class="test.QuizAction">
  <interceptor-ref name="sample" />
</action>

This will configure *only* the "sample" interceptor.

If you specify *any* interceptors on a per-action basis you must configure *all* interceptors. This can be done in several ways.

- specify all interceptors in the action's configuration (you can specify interceptor stacks as well as single interceptors) - creating a new stack including your custom interceptor and using that stack in your action configuration
- same, but define the new stack and using it as the default stack

Dave

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
For additional commands, e-mail: user-h...@struts.apache.org

Reply via email to