JSP life cycle steps
Posted by SARAVANAN SIVAJI on October 21, 2010
JSP life cylce steps
1. Translate the JSP into a Servlet
2. Compile Servlet source code
3. Instantiate the servlet class
4. Call jspInit()
5. Call _jspService()
6. Call jspDestroy()
Point to be noted:
You can override jspInit() and jspDestroy().
Note the underscoe at the front of the _jspService() method, it means, you must NOT try to override it.
Advertisement