Class that "listens" is app "alive"

2006-04-20 Thread Stanislav
Hi! I have class that implements HttpSessionBindingListener and that class "listens" all session in app. My question is: is there any way to listen app? I have some thing to do if app is being redeployed? How can i do that? Tnx, Stanislav ---

Re: Class that "listens" is app "alive"

2006-04-20 Thread David Delbecq
Either use the init/destroy methods of a servlet filter Either create a servlet with a load-on-startup value Note: you will only know the webapp is being stopped / started, you will get no information about whether it is a redeploy or a simple tomcat shutdown/start Stanislav a écrit : >Hi! > >I

Re: Class that "listens" is app "alive"

2006-04-20 Thread Wendy Smoak
On 4/20/06, Stanislav <[EMAIL PROTECTED]> wrote: > I have class that implements HttpSessionBindingListener and that class > "listens" all session in app. > My question is: is there any way to listen app? I have some thing to do if > app is being redeployed? > How can i do that? You can use a Se