What is Servlet Context?

Answer Posted / shakir khan

servlet Context is an object that contain a servlet view of
the web application with in which the servlet is
running.Using the context,a servlet can log events obtain
url references to resources and get and store attributes
that other servlets in the context can use

Is This Answer Correct ?    23 Yes 10 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How to get the server information in a servlet?

685


List out the difference between ServletConfig and ServletContext?

604


What do you mean by scope object and what are its types?

570


What is called servlet container?

666


Why is init() method is used in servlets?

558






How do you communicate in between Applets and Servlets?

597


What is Request Dispatcher?

805


Elucidate servlet attributes and its scope?

570


How will two or three servlets interact or communicate with each other?

916


What is servlet name in web xml?

560


What is the difference between the include() and forward() methods?

571


What's the use of servletcontext?

684


Why the concept of single thread model interface is used?

555


What is servlet in tomcat?

560


What is the main purpose of java servlets?

587