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
What is the capacity the doget can send to the server?
What is servlet container?
What is the difference between sendredirect() and forward() in a servlet?
Tell the new features added in servletrequest interface i.e. Servlet 2.4
What's the use of servletcontext?
Explain Action Servlet?
How a servlet is unloaded?
What is api in servlet?
What is the major difference between context parameter and context attribute?
What is a servlet engine?
How can we include static files in the jsp page?
What is servlet api used for conneting database?
Explain is servlet mapping?
Can we use the constructor, instead of init(), to initialize servlet?
Is java servlet still used?