What is the difference between servlet config and servlet
context.
Answer Posted / mamta singh
Servlet config is a private area for every servlet.Any
variable stored there is accessible to only that servlet
while sevlet context is a shared area for every servlet in
an application.In an aaplication every servlet can access
the variable stored in servlet context.
Is This Answer Correct ? | 203 Yes | 20 No |
Post New Answer View All Answers
What are the functions of an intercepting filter?
What is the GenericServlet class?
What are the phases of the servlet life cycle?
What do you mean by filter in servlet?
What is a web container and what is its responsibility?
What are Servlets?
How to rectify errors in java servlet while compilation?
How printwriter is different from servletoutputstream?
How to handle exceptions thrown by application with another servlet?
How do you configure a centralized error handler in servlets?
Explain servlet life cycle?
What is servlet name in web xml?
How can an existing session be invalidated?
What are the different types of servlets?
How can we include static files in the jsp page?