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 the difference between context parameter and context attribute?
explain the advantages of servlet life cycle?
What is servlet in tomcat?
Write the code to get the server information in servlet.
Why filter is used in servlet?
What is the directory structure of a war file?
What is called a session?
Can a jsp be called using a servlet?
What is the GenericServlet class?
What is the difference between Servlet Request and Servlet Context when calling a Request Dispatcher?
Define context initialization parameters.
How to rectify errors in java servlet while compilation?
What are the steps involved in placing a servlet within a package?
What is servlet in web technology?
How do you configure a centralized error handler in servlets?