When a request for a servlet is made the container will check for the servlet instance 1. If an instance of the servlet does not exist, the web container 1. Loads the servlet class. 2. Creates an instance of the servlet class. 3. Initializes the servlet instance by calling the init() method. 2. Invokes the service() method, passing request and response objects. 3. If the container needs to remove the servlet, it finalizes the servlet by calling the servlet&
Category:Servlet Interview Questions
No comments:
Post a Comment