You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by mu...@aol.com on 2009/03/14 09:12:36 UTC

Re: Do all actions in an action class (struts 2.1) have to inherit definitions from the same package?

Thanks for clarifying.
Chris


-----Original Message-----
From: Musachy Barroso <mu...@gmail.com>
To: Struts Users Mailing List <us...@struts.apache.org>
Sent: Fri, 13 Mar 2009 10:44 pm
Subject: Re: Do all actions in an action class (struts 2.1) have to inherit definitions from the same package?



yes

On Fri, Mar 13, 2009 at 4:53 AM,  <mu...@aol.com> wrote:
>
> Question on design intent: I noticed that the @Action annotation does not have 
attributes for a parent namespace so if you have multiple actions in the same 
class you only have the @ParentPackage class level annotation to indicate the 
location of definitions for custom inteceptors, results etc. Is it part of the 
design?that colocation of action methods in the same action class implies they 
are in the same package?
> Cheers
> Chris
>
>



-- 
"Hey you! Would you help me to carry the stone?" Pink Floyd

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