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 interservlet communication?
What do you mean by request dispatcher in servlet? Also explain its methods.
what is servlet chaining?
How to get the current httpsession object?
What is java servlet?
What is the directory structure of a war file?
When a servlet accepts a call from a client, it receives two objects. What are they?
Why do you use session tracking in httpservlet?
Explain in brief the directory structure of a web application?
What is the default http method in the servlet?
Why do we need servlet filter?
What is servlet container. how it works?
What is difference between PrintWriter and ServletOutputStream?
What is the structure of the http response
What is the requirement of servlet config and servlet context implemented and how are they implemented?