abhiram wrote:
hi!! i dont think this is a struts related question.. but.. is there any way to know when
a request dies (apart from our own logical reasoning).. like any method to find out or
can we write api such that a request gives out a System.out.println("i'm
dying") just before it ends and similar output when a new one is created ? might
sound funny but i think it will be very useful. i searched the ServletRequest and
HttpServletRequest apis but found none. any suggestions?
The servlet API provides context listeners and session listeners, but
not request listeners. You didn't explain what you're trying to achieve
so the best advice I can offer is to write a servlet filter. That would
certainly meet the requirements you've described, anyway.
If filters don't allow you to do what you need, re-post with details of
what you're trying to accomplish.
L.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]