What is Servlet Context?

Answers were Sorted based on User's Feedback



What is Servlet Context?..

Answer / shakir khan

servlet Context is an object that contain a servlet view of
the web application with in which the servlet is
running.Using the context,a servlet can log events obtain
url references to resources and get and store attributes
that other servlets in the context can use

Is This Answer Correct ?    23 Yes 10 No

What is Servlet Context?..

Answer / neha

ServlrtCoctext provides runtime environment which is shared
by every servlet.

Is This Answer Correct ?    10 Yes 1 No

What is Servlet Context?..

Answer / santhos

Servlet Context is a runtime environment whoch is used for
Servlet Communication.
Servlet COmmunications are three types.
..through...
1. Context Parameters
2. Servlet Context
3. HTTP Session

Through Servlet Context, servlets can communicate. Any
servlet can set attributes to the servlet conext and thy
can be read by any servlet.

Is This Answer Correct ?    6 Yes 1 No

What is Servlet Context?..

Answer / gaurav agrawal

ServletContext is the interface by which we can get the
information of the web container.this interface has some
methods by which we can get information

Is This Answer Correct ?    12 Yes 12 No

What is Servlet Context?..

Answer / diksha sharma

ServletContext is the runtime enrollment for web application.
It contains all the information regarding web application .So
it can be access by all resources. one web application will be having one ServletContext.

Is This Answer Correct ?    1 Yes 3 No

Post New Answer

More Servlets Interview Questions

waht is the main diference b/w servelts and JSP ?

8 Answers   CAP, HCL,


What are the mechanisms used by a servlet container for maintaining session information?

0 Answers  


What are different ways for servlet authentication?

0 Answers  


What is session?

0 Answers  


What are the ways to handle multi-threading in servlets?

0 Answers  






What do you mean by cgi in servlet?

0 Answers  


What is the procedure of invoking different servlet in a different application?

0 Answers  


What is the functionality of actionservlet and requestprocessor?

0 Answers  


Explain the steps involved in placing a servlet within a package?

0 Answers  


Why is servlet used?

0 Answers  


What is servlet mapping?

0 Answers  


How to get ip address in jsp login page and how to validate like 127.1.0.1 all should not be greater than 255

0 Answers   Bosch, EF,


Categories