What is the difference between servlet config and servlet
context.
Answer Posted / suresh g
Question: What is the difference between servlet config and servlet context?
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 ? | 0 Yes | 0 No |
Post New Answer View All Answers
What is a deployment descriptor?
How to handle exceptions thrown by application with another servlet?
What are sessions in servlets?
What are the steps involved in placing a servlet within a package?
What is the use of httpservletrequestwrapper and httpservletresponsewrapper?
Explain their methods? Tell me their parameter names also have you used threads in servlet?
What are the uses of servlet
Explain is servlet mapping?
Whether thread can be used in servlets?
What are the objects involved when a servlet receives a call from client?
What is the difference between portlet and servlet?
What is the purpose of dispatcherservlet properties?
Explain the different ways for servlet authentication?
Write a command to get actual path of a servlet to the server?
What is the inter-servlet communication?