• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

JSP lifecycle question

 
Minu Jain
Ranch Hand
Posts: 74
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
What is the correct order of the following events?

jspInit is called
JSP page implementation class is loaded
JSP page is complied
jspDestroy is called
JSP page implementation is instantiated
JSP page is translated
_jspService is called
 
Matteo Palmieri
Greenhorn
Posts: 28
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Here is how it should work:
1) JSP page is translated
2) JSP page is complied
3) JSP page implementation class is loaded
4) JSP page implementation is instantiated
5) jspInit is called
6) _jspService is called
7) jspDestroy is called

Matteo
 
Minu Jain
Ranch Hand
Posts: 74
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
thank you so much !
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic