DEVFYI - Developer Resource - FYI

Explain the life cycle of Servlet.

Servlet Interview Questions and Answers


(Continued from previous question...)

21. Explain the life cycle of Servlet.

Loaded(by the container for first request or on start up if config file suggests load-on-startup), initialized( using init()), service(service() or doGet() or doPost()..), destroy(destroy()) and unloaded.

(Continued on next question...)

Other Interview Questions