Finalizing a Servlet

Finalizing a servlet means that, we are calling the destroy () method. The destroy () method helps to remove the servlet from the service. We are calling the destroy () method of the Servlet interface, when a servlet container wants to remove the servelt from the service. That is a container needs to recover memory […]