IBM Interview Question

Life cycle of a servlet

Interview Answer

Anonymous

Jun 18, 2012

life cycle of a servlet is composed of 3 methods - 1. init() - places the servlet in the server's address space 2. service() - handles requests from clients and formulates a response 3. destroy() - deletes the servlet from the server's address space

1