Go4Expert

Go4Expert (http://www.go4expert.com/)
-   JSP (http://www.go4expert.com/forums/jsp/)
-   -   What are the lifecycle of JSP? (http://www.go4expert.com/forums/lifecycle-jsp-t25436/)

Mannu 5Apr2011 11:30

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.


All times are GMT +5.5. The time now is 21:36.