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
Name the different ways of session tracking.
Can you refresh servlet in client and server-side automatically?
How do we call one servlet from another servlet?
What is cookies in servlet with example?
What do you mean by web applications? Explain web application directory arrangement?
How do you design microservices?
What’s the use of the servlet wrapper classes??
What's the difference between authentication and authorization?
What is life cycle of Servlet?
How we can create war file in servlet?
What is a servlet-to-servlet communcation?
Describe some assignments that are executed by servlet container?
Explain the lifecycle of a servlet?
How can you create a session in servlet?
What is java servlet session?