What is ServletContext() and what is its use?
Answer Posted / a,srinivas rao
servletcontext is an object which contains the information
regarding all the servlets that are used in web application.
when ever user first do the deployment of the web
application on the server the web container instantiate a
servlet context object.the information in the servlet
context object is also passed to init method.
| Is This Answer Correct ? | 51 Yes | 20 No |
Post New Answer View All Answers
Why is servlet used?
What's the advantages using servlets than using cgi?
Which method is called when reference variable is passed in system.net?
What are the objects involved when a servlet receives a call from client?
What are the new features added to servlet 2.5?
What is cookie? Why is cookie used?
What is preinitialization of a servlet?
What do you mean by web applications?
Which application server is best for java?
What is http servlet in java?
Are Servlets Thread Safe? How to achieve thread safety in servlets?
Which java framework is most popular?
Can you refresh servlet in client and server-side automatically?
How can an existing session be invalidated?
What is SingleThreadModel interface?