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. On Tue, Nov 5, 2013 at 7:13 PM, <umeshawas...@gmail.com> wrote: > I am agree with Steven, existing API is really good. > We need to put more work of documents and showing user how to use or > modify existing API. > > > > Thanks > Umesh > Sent from BlackBerry® on Airtel > > -----Original Message----- > From: Steven Benitez <steven.beni...@gmail.com> > Date: Tue, 5 Nov 2013 09:00:14 > To: Struts Developers List<dev@struts.apache.org> > Reply-To: "Struts Developers List" <dev@struts.apache.org> > Subject: Re: InterceptorListeners > > I feel pretty strongly that we should not broaden the API to accommodate > users who don't know how to use the existing API, which is really pretty > straight forward. We'd be better off educating users how the existing > interceptor API works rather than introducing new complexity. > > > On Tue, Nov 5, 2013 at 4:11 AM, Lukasz Lenart <lukaszlen...@apache.org > >wrote: > > > 2013/11/5 Steven Benitez <steven.beni...@gmail.com>: > > > Why not just create an interceptor and run it before or after the > > > interceptor you need? What specific use case does this address? > > > > You are perfectly right, it's the prefer way to achieve the same > behaviour. > > > > But there are some users which just stick with defaultStack or > > cannot/don't know how to modify the defaultStack - and it's solution > > just for them. Maybe I'm wrong and we should educated users to don't > > stick with default stack and always prepare their own stack (at least > > to improve performance). > > > > > > 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 > > > > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: dev-unsubscr...@struts.apache.org > For additional commands, e-mail: dev-h...@struts.apache.org > >