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

When Servlet is unloaded?

0 Answers  


What is a Session Id?

1 Answers  


What are the types of servlet?

0 Answers  


What is the purpose of inter-servlet communication?

0 Answers  


What is servlet api used for conneting database?

0 Answers  






Explain jsessionid?

0 Answers  


What exception should be thrown when servlet is not properly initialized?

0 Answers  


What is lazy loading and what is Generic Servlet Class?

0 Answers  


Is there any differance b/w getting servlet context from servlet config and session? if yes then what is that?

7 Answers  


How will you open a new page after certain interval of time (5 sec), on clicking of a button in an html page?

2 Answers  


Define the lifecycle for executing a jsp page.

0 Answers  


What are some disadvantages of storing session state in cookies?

0 Answers  


Categories