InterviewSolution
Saved Bookmarks
| 1. |
What Is The Servlet Life Cycle? |
|
Answer» When first REQUEST CAME in for the servlet , Server will invoke init() method of the servlet. There after if any user request the servlet program, Server will directly executes the service() method. When Server want to remove the servlet from POOL, then it will EXECUTE the DESTROY() method. When first request came in for the servlet , Server will invoke init() method of the servlet. There after if any user request the servlet program, Server will directly executes the service() method. When Server want to remove the servlet from pool, then it will execute the destroy() method. |
|