What is the difference between servlet config and servlet
context.
Answer Posted / v.tulasiprasad
servlet config is used to obtain configuration data when it
is loaded in to the application server.
for each servlet servlet config will be indipendent and the
configuration of a servlet is intialized in the servlet
config file.
servlet context is used to obtain the information about the
environment in which it is running.one application have only
one servlet context file.through this servlet context file
we can acces servlets in that application.
| Is This Answer Correct ? | 10 Yes | 14 No |
Post New Answer View All Answers
Why do we have servlet wrapper classes?
What is the importance of init() method in Servlet ?
Explain is servlet mapping?
Can you create a deadlock condition on a servlet?
How do you design microservices?
What is a web application and what is it’s directory structure?
What is meant by a web application
How to read request headers from servlets?
What is the
Which is better jsp or servlet?
What do you mean by request dispatcher in servlet?
What are the benefits of using servlet over cgi?
What is servlet container. how it works?
how many jsp scripting elements are there and what are those?
List out difference between a JavaBean from a Servlet?