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
Explain servlet life cycle?
Why HttpServlet class is declared abstract?
Explain the custom jsp tags and the beans.
What is the use of welcome-file-list?
What if you need to span your transaction across multiple servlet invocations?
What is difference between GenericServlet and HttpServlet?
What do you mean by scope object and what are its types?
Why servlet is faster than jsp?
What do you mean by deployment descriptor?
Define the servlet mapping.
What are the steps that are required to handle the multi-threading?
Name the packages that work with servlet?
Is it possible to have a constructor inside the servlet?
Difference between GET and POST?
How does Cookies work in Servlets?