What is the difference between servlet config and servlet
context.
Answer Posted / suresh g
Servlet Context:
Servlet context is communication
between server side .Every application has only one
servlet context and is accessible to all action
resource of that application.
Serclet Config:
Servlet Config is objcet created after
a servlet is instantiation and its default constructor
is read .It is create to pass initialization
information the servlet.
| Is This Answer Correct ? | 1 Yes | 1 No |
Post New Answer View All Answers
What are the life cycle methods of a servlet?
What do you mean by filter in servlet?
What is getservletcontext?
How can we create deadlock situation in servlet?
What do you mean by web applications?
How do you invoke a Servlet? What is the difference between doPost method and doGet method?
How can we include static files in the jsp page?
What is the disadvantage of cookies?
What are all the advantages of servlet over cgi?
What are different ways for servlet authentication?
Explain the role of dispatcherservlet and contextloaderlistener.
What do you mean by request dispatcher in servlet?
What is servlet in tomcat?
What do you mean by deployment descriptor?
What are the objects involved when a servlet receives a call from client?