This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
The moose likes JSP and the fly likes Life cycle of jsp? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Java » JSP
Bookmark "Life cycle of jsp?" Watch "Life cycle of jsp?" New topic
Author

Life cycle of jsp?

chenna kesava koyyagura
Greenhorn

Joined: Nov 25, 2007
Posts: 3
Any one can explain life cycle of jsp clearly...
[ November 25, 2007: Message edited by: Bear Bibeault ]
Raj Kumar Bindal
Ranch Hand

Joined: Apr 15, 2006
Posts: 418
Important things in lifecycle of jsp:
1.Translation(conversion to servlet) and compilation happens only once in the complete life of jsp.
2.Translation and compilation of jsp happens when we access that jsp,i mean not like servlets where we can first create class file (probably through ant)and then access that servlet.
Life cycle is more or less same as servlet once jsp is converted to servlet which is the first step in the life cycle of jsp.
Please correct me if wrong somewhere.
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 60810
    
  65

Please read this article.


[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 60810
    
  65

Originally posted by Raj Kumar Bindal:
Life cycle is more or less same as servlet once jsp is converted to servlet ...

Not exactly. See the article.
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
 
subject: Life cycle of jsp?
 
Similar Threads
Threads
what is the difference between jsp and servlets life cycle??
why lifecycle method required ?
life cycle in different scopes
Threads