Hi Umesh,
The sequence is as follows:
1-Page Translation
2-Page Compilation
3-Class Loading
4-Instantiation
5-JspInit() is called
6-_jspService() is called
7-jsp Destroy() is called.
if you go through the above steps, you'll clearly understand that the jsp page is converted to
servlet class.
Before the page is converted to servlet class, it has to be translated to filter out the syntactic errors. all the syntax errors of the jsp page will be caught here.
after successful translation, it is converted to a servlet class. Like any other
java files this has to be compiled.
once the class is compiled, it has to be ready for instantiating it. that's why the class needs to be loaded by the container.
after loading the class, an object of this class has to be made ready for servicing and so instantiation of this class follows.
before it services any request, the jsp init() is called to initialise the page with its initialisation parameters if any.
then service() and finally destroy() is called before unloading this class.
i hope you've gone through the basic servlets and jsp's life cycle before coming up to this question.