This week's book giveaway is in the OCAJP 8 forum.
We're giving away four copies of OCA Java SE 8 Programmer I Study Guide and have Edward Finegan & Robert Liguori on-line!
See this thread for details.
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 OCA Java SE 8 Programmer I Study Guide this week in the OCAJP 8 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: 63353

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

[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
I agree. Here's the link:
subject: JSP lifecycle
It's not a secret anymore!