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 <lukaszlen...@apache.org>wrote: > 2013/11/5 Ali Akhtar <ali.rac...@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-unsubscr...@struts.apache.org > For additional commands, e-mail: dev-h...@struts.apache.org > >