When does the web container calls the destroy() method
When does the web container calls the destroy() method other than server shut down, application updeployment, redeployment. When an ActionMapping is required to be customized
Re: When does the web container calls the destroy() method
the container calls the destroy method before removing the servlet instance from the service . this normally happens when servlet container is shutdown or when servlet container needs the free memory.