What is servlet context ?

Answer Posted / mahesh

The servlet context is an object that contains a servlet's
view of the Web application within which the servlet is
running. Using the context, a servlet can log events, obtain
URL references to resources, and set and store attributes
that other servlets in the context can use. (answer supplied
by Sun's tutorial).

Is This Answer Correct ?    3 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is session tracking?

771


List out the difference between ServletConfig and ServletContext?

673


What are all the ways for session tracking?

649


What is the purpose of requestdispatcher interface?

679


Describe some assignments that are executed by servlet container?

660






Explain the concept of ssi ?

645


What are the various ways of session supervision in servlets?

572


What are the type of protocols used in httpservlet?

669


How to get the actual path of servlet in server?

798


What is servlet invoker?

657


Is that servlet is pure java object or not?

695


What is the use of java servlet api?

649


What's the difference between authentication and authorization?

616


How we can call a jsp from the servlet?

590


What methods do you use in servlet - applet communication?

642