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
Printable View
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
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.
When servlet container needs to free the memory that is purely server specific