Get the tools you need to learn Java skills fast!
Video tutorials, eBooks, hands-on lab exercises, sample code.
Get started
The moose likes JSP and the fly likes JSP lifecycle Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of The Software Craftsman this week in the Agile forum!
JavaRanch » Java Forums » Java » JSP
Bookmark "JSP lifecycle" Watch "JSP lifecycle" New topic

JSP lifecycle

Amit Singh Hora

Joined: Dec 23, 2012
Posts: 8
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 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

Joined: Jan 10, 2002
Posts: 62294

The JSP Spec is the best place to find this level of detail.

[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
Have you tried LearnNowOnline?
subject: JSP lifecycle