You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by Igor Vlasov <vi...@mail.ru> on 2007/10/15 07:51:49 UTC

ExecuteAndWait interceptor position?

Hello.

In Struts Documentation i found that 
"Because of the nature of this interceptor, it must be the last interceptor
in the stack."

and in struts-default.xml i found 

&lt;interceptor-stack name="executeAndWaitStack">
  &lt;interceptor-ref name="execAndWait">
      &lt;param name="excludeMethods">input,back,cancel&lt;/param>
   &lt;/interceptor-ref>
   &lt;interceptor-ref name="defaultStack"/>
   &lt;interceptor-ref name="execAndWait">
      &lt;param name="excludeMethods">input,back,cancel&lt;/param>
   &lt;/interceptor-ref>
&lt;/interceptor-stack>

Why it appears twice?  Before all interceptors and after all interceptors.

In other parts of documentation  i see than i must use:    
<interceptor-ref name="defaultStack"/>
<interceptor-ref name="execAndWait"></interceptor-ref>

-  an execAndWait interceptor as last interceptor.

Why we need configured executeAndWaitStack?



-- 
View this message in context: http://www.nabble.com/ExecuteAndWait-interceptor-position--tf4624600.html#a13207107
Sent from the Struts - User mailing list archive at Nabble.com.


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