ProAnswers.org

What are the lifecycle of JSP?

When presented with JSP page the JSP engine does the following 7 phases. Page translation: -page is parsed, and a java file which is a servlet is created. Page compilation: page is compiled into a class file Page loading : This class file is loaded. Create an instance :- Instance of servlet is created , jspInit() method is called, _jspService is called to handle service calls _jspDestroy is called to destroy it when the servlet is not required.