17. What are Servlet and JSP lifecycle methods.

servlet life cycle methods:

init();

service();

destroy();

jsp lifecycle methods:

init();

_service();

destroy();

remember starting any method with _ means we cannot override this method.

Advertisements

6 Responses

  1. hai

  2. hi
    I want some information._jspservice()method how to overwrite these method.please tell me

  3. How can u override the init(ServletConfig config) in the jsp page

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 )

Google+ photo

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

Connecting to %s

%d bloggers like this: