Destroying the Servlet

The servlet life cycle is controlled by containers.The container perform the following activities, when a request is happened in a servlet. 1.If  the servlet instance does not exist, the Web container Loads the servlet class. The servlet class creates an instance. Initializes the servlet instances by calling the init () method. 2.Invokes the service () […]