File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
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
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: 60991
    
  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: 60991
    
  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.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Life cycle of jsp?