As another said.. in web.xml you configure a servlet context listener, in your code you provide a class that implements the ServletContextListener and you can use it to know when the app is deployed and undeployed.
On Fri, Aug 24, 2012 at 12:54 PM, John Boyer <j...@rodaxsoft.com> wrote: > So that I can cleanup resources. How can I receive a notification in a > Struts 2 web app when the app has been unloaded, stopped, un-deployed, etc.? > > Thank you, > John Boyer > --------------------------------------------------------------------- > To unsubscribe, e-mail: user-unsubscr...@struts.apache.org > For additional commands, e-mail: user-h...@struts.apache.org > >