Hi all,

I'm new to struts2 and have some questions about configuring Interceptors.

If your action does not define an interceptor does it get the default one (i.e. "defaultStack")?

e.g.
<action name="MyAction" class="...."> // does this action get the struts2 default interceptor stack
           <result>/myAction.jsjp</result>
       </action>

also, if your action *does* define an interceptor, does that augment the default one or override it?

e.g.
       <action name="MyAction" class="...">
<interceptor-ref name="myinterceptor"/> // do i get defaultStack, or did i just override it?
           <result>/myAction.jsp</result>
       </action>


thanks,

- darren.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to