Servlet Life cycle
The life cycle of a servlet is managed by a web container. Servlet life cycle steps: Load Servlet Class. Create Servlet instance. Call init() method. Call service() method. Call destroy () method. 1. Load Servlet Class: The web container loads the servlet when the first request is received. This step is executed only once at … Read more