What is servlet context ?
Answers were Sorted based on User's Feedback
Answer / veesa
sevlet context gives the information about servlet environment.
Is This Answer Correct ? | 5 Yes | 1 No |
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 |
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 |
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 |
List out the difference between ServletConfig and ServletContext?
can i modify the data which are generated by the servlet
How servlet is created?
how a servlet is instantiated, whether the container calls init() or by calling any other method? please somebody reply..
When should you prefer to use doget() over dopost()?
which method in doGet or doPost is use to send binary date to server
What is Request Dispatcher?
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()?
What is the need of servlet filters?
What is the difference between jsp and servlet life cycle?
What is done after deploying a war file and before client gives a request
Differentiate between the get and post method