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
Describe the phases of servlet lifecycle?
What is the difference between using getSession(true) and getSession(false) methods?
What are important features of Servlet 3?
How to commuincate between an applet and a servlet?
Define context initialization parameters.
What is the procedure of invoking different servlet in a different application?
What is the use of servlet context?
I Have A Plan to develop a Project in Struts,I want the template of struts project with Hibernate.Canany body provide me the required information?
What are the different methods involved in generic servlet?
How native code can be used in a servlet?
What are the functions of the servlet container?
What are the different methods involved in the process of session management in servlets?
What is the difference between the include() and forward() methods?
How do you invoke a servelt?
What are the differences between servlet context vs servlet config?