What is ServletContext() and what is its use?
Answer Posted / shiva
One Servlet Context object will be created by the container
for one webapplication. That means all servlets can have a
scope to acess that context object. for example, let us
assume there 5 servlets are there in u r web application,
if u want to share same data to all servlets then we can
share that data using servlet context, because every
servlet can have interaction with that application
environment...
Is This Answer Correct ? | 182 Yes | 22 No |
Post New Answer View All Answers
How do you run a servlet?
What is session tracking?
What is servlet container. how it works?
Hi frnd can i any one kindly can post for me portlet,hibernate and spring example application and with flow explantion configuration using Jdeveloper.and related links ar tutorials kindly please send me .its urgent for me .thanks in advance...........else can any one send to kondaiah.goddeti@gmail.com
What is the importance of init() method in Servlet ?
What is a cookie What is the difference between session and cookie
What is url encoding and url decoding
How native code can be used in a servlet?
What do you mean by default initialization in java servlet?
What is load-on-startup in servlet?
Write a simple servlet program to print the contents of html.
What is httpservlet class?
what is the different between a servlet and a cgi? Why do you go for servlet rather than cgi?
What is servlet collaboration?
What is the type of method for sending request from http server?