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 do you mean by url pattern in servlet?
What are the difference between RMI and Servlets?
Can we override servlet service method?
What is the type of method for sending request from http server?
How do you configure a centralized error handler in servlets?
What is the difference in between the httpservlet and generic servlet?
Why are http servlets used in programming?
What's the use of servletcontext?
Why do we use sendredirect() method?
What is preinitialization of a servlet?
If my browser does not support cookie, and my server sends a cookie instance what will happen?
What are the types of servlet?
Explain load on start-up and its importance?
Which exception is thrown if the servlet is not initialized properly?
What is dispatcher servlet?