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 servlet attributes and their scope?

573


What is the procedure for initializing a servlet?

523


What is getservletcontext?

525


What is servlet api used for conneting database?

676


What is the web server used for running the Servlets?

563






List the Different types of servlet?

561


What's the advantages using servlets than using cgi?

537


What is the difference between CGI and Servlet?

562


I Have A Plan to develop a Project in Struts,I want the template of struts project with Hibernate.Canany body provide me the required information?

2208


What is ServletConfig object?

582


What are the uses of servlets?

595


How the JSP file will be executed on the Server side?

626


What are the types of Session Tracking ?

621


What is httpservlet class?

519


Why HttpServlet class is declared abstract?

626