public
void destroy()
Whenever
the servlet is out of service, then the servlet container calls the
destroy method of this servlet. This method is only called once all
threads within the servlet's service method have exited or after a
timeout period has passed. After the servlet container calls this
method, it will not call the service method again on this servlet.
Destroy()
method generally contains code to free any resources.
No comments:
Post a Comment