Previous | Home | Next |
Life cycle of a JSP Page
The JSP pages follows these phases:
- Translation of JSP Page
- Compilation of JSP Page
- Classloading (class file is loaded by the classloader)
- Instantiation (Object of the Generated Servlet is created).
- Initialization ( jspInit() method is invoked by the container).
- Reqeust processing ( _jspService() method is invoked by the container).
- Destroy ( jspDestroy() method is invoked by the container).
Here we introduced for how to translate JSP page.In JSP page is translate into servlet by help of JSP translator and it is part of webserver.When Servlet page is compiled by compiler and change into class file and process will be perfomed in servlet like JSP initialization, committing response to the browser and destroy.
Previous | Home | Next |