Win a copy of The Java Performance Companion this week in the Performance forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Life cycle of jsp?

 
chenna kesava koyyagura
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Any one can explain life cycle of jsp clearly...
[ November 25, 2007: Message edited by: Bear Bibeault ]
 
Raj Kumar Bindal
Ranch Hand
Posts: 418
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Pie
Posts: 64990
86
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Please read this article.
 
Bear Bibeault
Author and ninkuma
Marshal
Pie
Posts: 64990
86
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic