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 |
When Servlet is unloaded?
What is a Session Id?
What are the types of servlet?
What is the purpose of inter-servlet communication?
What is servlet api used for conneting database?
Explain jsessionid?
What exception should be thrown when servlet is not properly initialized?
What is lazy loading and what is Generic Servlet Class?
Is there any differance b/w getting servlet context from servlet config and session? if yes then what is that?
How will you open a new page after certain interval of time (5 sec), on clicking of a button in an html page?
Define the lifecycle for executing a jsp page.
What are some disadvantages of storing session state in cookies?