struts-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ali Akhtar <ali.rac...@gmail.com>
Subject Re: InterceptorListeners
Date Wed, 06 Nov 2013 10:08:16 GMT
Right, but say you wanted to change the order slightly or insert one
interceptor before / after one from the top package. Now you'd have to copy
the whole stack to the other package.


On Wed, Nov 6, 2013 at 2:20 PM, Lukasz Lenart <lukaszlenart@apache.org>wrote:

> 2013/11/5 Ali Akhtar <ali.rac200@gmail.com>:
> > There's one case where it may be useful to have these listeners. Suppose
> if
> > you have a lot of packages, and you just need to modify one or two
> > interceptors in each package. You would have to paste your whole
> > interceptor stack in order to do this.
> >
> > I think this feature could be useful for such cases.
>
> But you can define all in your top package which should be used
> instead of defaultStack. That's the normal case and the most
> suggested.
>
>
> Regards
> --
> Ɓukasz
> + 48 606 323 122 http://www.lenart.org.pl/
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@struts.apache.org
> For additional commands, e-mail: dev-help@struts.apache.org
>
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message