What is servlet context ?

Answers were Sorted based on User's Feedback



What is servlet context ?..

Answer / veesa

sevlet context gives the information about servlet environment.

Is This Answer Correct ?    5 Yes 1 No

What is servlet context ?..

Answer / srivani

Servlet Context Object is created by webcontainer.Through
out the web application one servlet Context Object is
created.This Context Object creates config object,For every
servlet request one config object is created,but entire web
application only one context object.

Is This Answer Correct ?    2 Yes 0 No

What is servlet context ?..

Answer / 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

What is servlet context ?..

Answer / suresh g

Servlet context:

Servlet context is communication
between server side .Every application has only one
servlet context and is accessible to all action
resource of that application.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More Servlets Interview Questions

List out the difference between ServletConfig and ServletContext?

0 Answers  


can i modify the data which are generated by the servlet

4 Answers  


How servlet is created?

0 Answers  


how a servlet is instantiated, whether the container calls init() or by calling any other method? please somebody reply..

6 Answers   Siemens,


When should you prefer to use doget() over dopost()?

0 Answers  






which method in doGet or doPost is use to send binary date to server

2 Answers   HCL,


What is Request Dispatcher?

1 Answers  


Why is it that we can't give relative URL's when using ServletContext.getRequestDispatcher() when we can use the same while calling ServletRequest.getRequestDispatcher()?

0 Answers  


What is the need of servlet filters?

0 Answers  


What is the difference between jsp and servlet life cycle?

0 Answers  


What is done after deploying a war file and before client gives a request

2 Answers   Bosch,


Differentiate between the get and post method

0 Answers  


Categories