Menu Bar

Drop Down MenusCSS Drop Down MenuPure CSS Dropdown Menu

Wednesday, 8 February 2017

What are JSP lifecycle Phases ?

Their are 7 lifecycle phase of JSP which are discussed below :

Translation : In this phase jsp code is converted into servlet code i.e. the .java files are created here.

Compilation : In this phase container convert the servlet code into class file i.e. the .class files are created here.

Loading : Ti this phase conatiner loads the class file into memory .

Instantiation : In this phase container invokes the constructor of class and load it into memory and instantiate it.

Initialization : In this phase conatiner invokes the init() method of JSP and initializes the servlet config with init params configured in deployment descriptor(web.xml) .

Request Processing : In this phase container processes the client request for JSP and JSP service() method is invoked.

Destroy : In this phase container remove the JSP from the memory, usually this happens when server is shut down or application is removed from the server.


      
Blog Author - Pushkar Khosla,
Software Developer by Profession with 3.0 Yrs of Experience , through this blog i'am sharing my industrial Java Knowledge to entire world. For any question or query any one can comment below or mail me at pushkar.itsitm52@gmail.com.

This blog is all about to learn Core Java ,Interview Programs and Coding tricks to polish your Java Knowledge. If you like the content of this blog please share this with your friends.



Share this Blog with yours Friends !!

No comments:

Post a Comment