Win a copy of Machine Learning Systems: Designs that scale this week in the Scala forum
or Xamarin in Action: Creating native cross-platform mobile apps in the Android forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Life cycle of jsp?  RSS feed

 
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 ]
 
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.
 
Author and ninkuma
Marshal
Posts: 66677
167
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
Posts: 66677
167
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.
 
if you think brussel sprouts are yummy, you should try any other food. And this tiny ad:
Rocket Oven Kickstarter - from the trailboss
https://coderanch.com/t/695773/Rocket-Oven-Kickstarter-trailboss
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!