File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
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
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: 63837

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

[Asking smart questions] [About Bear] [Books by Bear]
I agree. Here's the link:
subject: JSP lifecycle
jQuery in Action, 3rd edition