On Sun, Jun 8, 2008 at 10:36 AM, Bob Tiernay <[EMAIL PROTECTED]> wrote:
> Well, by "convention" these things could be defined in the top most package
> of the actions packages (ie. struts.convention.action.packages) in
> package-info.java. This seems natural to me.
>

Yes, that would be the obvious choice, but it doesn't feel as natural
as the other annotations(to me). The other thing is that these
configuration elements is not where developers spend their time, how
often do you write an interceptor stack,or a global result?.

> I would think that at least the default interceptor-ref should be made
> available on package-info.java(s) because this would prevent you from having
> to create a parallel xml configuration just to house this information. After
> all, the namespace annotation is allowed there (which is outside the action
> element).
>

You are right on this.

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

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

Reply via email to