Jim, since it is the interceptor you are interested in testing why not
test it without the Convention Plug-in (configuring the action by
xml) to see if it is working, which is your aim. That way you don't
have two things you are unsure of happening at once.
Cheers
Chris








-----Original Message-----
From: Wes Wannemacher <w...@wantii.com>
To: Struts Users Mailing List <user@struts.apache.org>
Sent: Wed, 27 May 2009 3:29 pm
Subject: Re: Interceptor Trouble



On Wed, May 27, 2009 at 3:24 PM, Jim Collings <jlistn...@gmail.com> wrote:
>
> Conventions. Hmmm.. Perhaps better implemented as a filter then. I'ld
> prefer it to having to annotate every single Action class.
>
>
> Jim C.
>


You don't need to annotate every class, but you will need to change
the package the conventions assigns by default -

<constant name="struts.convention.default.parent.package"
value="yourPackageNameWhichIForgot"/>

-Wes


-- 
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