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 ServletContextListener, which will be be notified when the app is started and stopped (initialized and destroyed). http://java.sun.com/products/servlet/2.3/javadoc/javax/servlet/ServletContextListener.html -- Wendy --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]