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 the importance of init() method in Servlet ?
What is difference between PrintWriter and ServletOutputStream?
What is http servlet? Explain with the help of an example.
How printwriter is different from servletoutputstream?
What do you mean by servlet?
How many objects of a servlet is created?
What are the steps involved in placing a servlet within a package?
What do you mean by web applications? Explain web application directory arrangement?
Name the different ways of session tracking.
What is servlet collaboration?
What do you mean by filter in servlet?
What are the steps that are required to handle the multi-threading?
What are the life-cycle methods for a servlet?
Difference between java beans & servlets?
What is the purpose of requestdispatcher interface?