what is the difference between ServletContext and
ServletConfig
Answer Posted / sreenu bassha
ServletContext:ServletContext interface contains basic
methods to find the path information, accessing other
servlets,etc.
ServletConfig:ServletConfig interface contains basic
methods to get the initialization parameters and
servletContext object.
Is This Answer Correct ? | 6 Yes | 1 No |
Post New Answer View All Answers
What is servlet configuration?
What is servlet and its advantages?
List out the difference between ServletConfig and ServletContext?
What is the difference between CGI and Servlet?
How do I use cookies to store session state on the client?
What is difference between the HTTP Servlet and Generic Servlet? Explain about their methods and parameters?
What are the life cycle methods of a servlet?
Explain the different ways for servlet authentication?
What are the drawbacks of cgi?
Name the packages that work with servlet?
How can we achieve transport layer security for our web application?
Why is Servlet so popular?
How servlet is created?
What are the phases of servlet life cycle?
Why is http protocol called as a stateless protocol?