2010/1/8 Arnab Ghosh <gh...@glenwoodsystems.com>: > Dear Friends, > > Is there any way to capture event while forwarding a request from one > context to another context. Can I put a filter for that?? but it should > execute only if it is a cross-context forwarding. Is there any listener > available to capture that event?? > > I am looking for a request listener. But it will not execute when request > will come from another context. I want a alternative approach to capture > request before processing it. >
I think that you need configure a filter. See chapter SRV.6.2.5 "Filters and the RequestDispatcher" of Servlet 2.5 specification for details of how to configure filters that can intercept forward() and include() calls. Best regards, Konstantin Kolinko --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org