• Post Reply Bookmark Topic Watch Topic
  • New Topic

JSP lifecycle  RSS feed

 
Amit Singh Hora
Greenhorn
Posts: 8
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
As the jsp Will be converted into full fledged servlet on first request
i am trying to figure out the order in which methods will be called
1)jsp translated into.java compilesd into .class


2)//here i am confused in the calling of contructor
weather jspConstructor() will be called or like init() calling jspInit() there is something like some other constructor calling jsp'sConstructor()
//and also cani overload the jspConstructor () as this can not be done with servlets!


3)init()--for jsp servlet---this will call the _jspint()
4)after the the jsp_service will be called
 
Bear Bibeault
Author and ninkuma
Marshal
Posts: 66156
146
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
The JSP Spec is the best place to find this level of detail.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!