What is Servlet Context?
Answers were Sorted based on User's Feedback
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 |
Answer / neha
ServlrtCoctext provides runtime environment which is shared
by every servlet.
| Is This Answer Correct ? | 10 Yes | 1 No |
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 |
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 |
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 |
If servlet receives multiple requests, how many objects will it create?
Is it possible to send a mail from a servlet? Explain?
can anybody send me j2ee softwares such as tomcat,weblogic server ,netbeans
What are the benefits of using servlet over cgi?
difference between sendredirect,forward and url rewritting
How to generate the server side programming and the advantages of it over the other languages?
In the servlets, we are having a web page that is invoking servlets ,username and password? which is checks in database? Suppose the second page also if we want to verify
Explain the custom jsp tags and the beans.
when you comppile the servlet is it neccesary to restaet the tomcat server?
what is the difference b/w DispatchAction and LookUpDispatchAction?
1 Answers Deloitte, iGate, Tech Mahindra,
What is cookies in servlet with example?
What do you understand by mime type?