What is ServletContext() and what is its use?
Answer Posted / rahul kumar
A servlete context is the directory in which the servlet
are deployed in the web server. Servlet that are executing
in the same server belong to the same context.
| Is This Answer Correct ? | 18 Yes | 31 No |
Post New Answer View All Answers
Can we override destroy method in servlet?
What is the default http method in the servlet?
Explain request dispatcher and its methods.
Why the concept of single thread model interface is used?
What are life cycle methods of a servlet?
Define context initialization parameters.
Explain mvc pattern.
Why the container loads server at the application startup and how?
What is servlet container?
Can servlet have a constructor ?
Can you send an authentication error from a servlet?
Which exception is thrown if the servlet is not initialized properly?
What are all the advantages of servlet over cgi?
What is setattribute in servlet?
How many servlet objects are created?