Wait, wait... Actions package? Are you using codebehind or
conventions? If so, then the struts.xml file you posted won't be
enough. You have to either change the default convention package or
you have to use InterceptorRef annotations on your action. By default,
the conventions plugin uses something like conventions-default as the
default package for all of your actions. Just because you map a
package in struts.xml does not mean that the actions will
automatically be in that package because their namespace matches (I
think, I could be wrong, maybe it is supposed to, I dunno). But, there
are annotations for applying an interceptor stack to the action.

-Wes

On Wed, May 27, 2009 at 3:13 PM, Jim Collings <jlistn...@gmail.com> wrote:
>> Do you have any actions in that package? Your interceptor should be
>> run, but only against actions in that package (xxx). Also, your
>> interceptor is last in your stack, so things like validation failure
>> can keep it from firing.
>>
>> -Wes
>
> Yes. Tried putting it in the Actions package. No dice. No validation as yet.
> I've since implemented this as a filter.
>
>
> Jim C.
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
> For additional commands, e-mail: user-h...@struts.apache.org
>
>



-- 
Wes Wannemacher
Author - Struts 2 In Practice
Includes coverage of Struts 2.1, Spring, JPA, JQuery, Sitemesh and more
http://www.manning.com/wannemacher

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

Reply via email to