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 |
What do you mean by url pattern in servlet?
Directive Include and Action Include how both are working in JSP, what is the difference between both?In which suituation we have to choose these elements?
Who is responsible to create the object of servlet?
What is the difference between callling a RequestDispatcher using ServletRequest and ServletContext?
Explain the difference between get and post method in servlet?
What is the use of httpservletrequestwrapper and httpservletresponsewrapper?
what is the difference between do get/dopost
What is the difference between forward () and sendredirect () functions in servlet? Explain
what are the disadvantages of cookies?
List the Different types of servlet?
Define context initialization parameters.
Explain how does JSP handle run-time exceptions?