On Wed, May 27, 2009 at 3:17 PM, Wes Wannemacher <w...@wantii.com> wrote:
> 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.
...
>> Yes. Tried putting it in the Actions package. No dice. No validation as yet.
>> I've since implemented this as a filter.

Conventions. Hmmm.. Perhaps better implemented as a filter then. I'ld
prefer it to having to annotate every single Action class.


Jim C.

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

Reply via email to