What is ServletContext() and what is its use?
Answer Posted / anjan
Assume that ServletContext is shared momeroy for all
servelts which are existed in a web application,
we can place an object on to the servletcontext, and that
can uses all other servlets which are exited in the web
application.
Is This Answer Correct ? | 153 Yes | 27 No |
Post New Answer View All Answers
How do you load an image in a Servlet?
What is the difference between servlet and filter?
What are the different methods involved in generic servlet?
Tell the new features added in servletrequest interface i.e. Servlet 2.4
Why jsp is better than servlet?
How to notify an object in session when session is invalidated or timed-out?
request parameter how to find whether a parameter exists in the request object?
Why is httpservlet declared abstract?
How do you design microservices?
What is lazy loading and what is Generic Servlet Class?
What's the use of servletcontext?
Explain servlet.
Define the servlet mapping.
What is difference between the HTTP Servlet and Generic Servlet? Explain about their methods and parameters?
Which event is fired at the time of session creation and destroy?