SARAVANAN SIVAJI

Dedicated to JAVA Technologies

JSP life cycle steps

Posted by SARAVANAN SIVAJI on October 21, 2010

JSP life cylce steps

1.  Translate the JSP into a Servlet

2.  Compile Servlet source code

3.  Instantiate the servlet class

4.  Call jspInit()

5.  Call _jspService()

6.  Call jspDestroy()

Point to be noted:

You can override jspInit() and jspDestroy().

Note the underscoe at the front of the _jspService() method, it means, you must NOT try to override it.

Advertisement

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Connecting to %s

 
Follow

Get every new post delivered to your Inbox.