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
Explain jsessionid?
Describe some assignments that are executed by servlet container?
What must be implemented by all servlets?
What is the process for chaining servlet?
What's the difference between servlets and applets?
How servlet is created?
List out the difference between ServletConfig and ServletContext?
What are the different methods of session management in servlets?
Is servlet a server side scripting language?
What is servlet and its life cycle?
What is the difference between Server and Container?
When a servlet accepts a call from a client, it receives two objects. What are they?
What are the different methods involved in generic servlet?
What is the difference between get and post methods?
What is the difference between encodeRedirectUrl and encodeURL?