struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Chris Pratt <>
Subject Re: Doubt on Struts 2 Architechture
Date Mon, 25 Jul 2011 07:27:42 GMT
Actually, no, it's not executing them again, it's finishing the original
execution.  The interceptor does whatever it's supposed to do before the
execution of the action, it then turns over control to Struts which decides
whether there is another interceptor in the chain, or whether it's time to
execute the action.  When the action is done, the call returns control back
to each interceptor in (as you said) reverse order where it can finish it's
work.  It's the simplest and most effective way of assuring the interceptors
can do both pre-processing and post-processing.


On Sun, Jul 24, 2011 at 9:28 PM, mohan rao <> wrote:

> suppose, i'm not using timer interceptor and suppose i'm using timer
> interceptor then in such a case that interceptor only triggered but it's
> executing all interceptor in reverse order once again in post processing.
> why?
> --
> View this message in context:
> Sent from the Struts - User mailing list archive at
> ---------------------------------------------------------------------
> To unsubscribe, e-mail:
> For additional commands, e-mail:

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message