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 are the different session tracking techniques?
Why the container loads server at the application startup and how?
What are the jobs performed by servlets?
Why is init() method is used in servlets?
Explain the different ways for servlet authentication?
What is the use of servlet context?
What is the difference between CGI and Servlet?
Elucidate servlet attributes and its scope?
How do I know if java is running on linux?
What is a servlet engine?
How do you invoke a Servlet? What is the difference between doPost method and doGet method?
What is servlet and its types?
When using servlets to build the HTML, you build a DOCTYPE line, why do you do that?
What is the difference between jsp and servlet life cycle?
What do you mean by filter in servlet?