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 type of method for sending request from http server?
What is SingleThreadModel interface?
How do you design microservices?
Write a hello world program using servlets.
What is MIME Type?
What do you mean by filter in servlet?
When servlet is loaded?
What is a web container and what is its responsibility?
Write all the phases defined in servlet life cycle?
What is the difference between context parameter and context attribute?
How can we achieve transport layer security for our web application?
What are sessions in servlets?
Explain is servlet mapping?
What is difference between PrintWriter and ServletOutputStream?
What are the key methods that are involved in processing of http servlets?