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
Why do you use session tracking in httpservlet?
Explain the methods of request dispatcher in servlet?
What do you mean by cgi and what are its drawbacks?
What are the types of servlets? Explain
Is tomcat a servlet container?
Explain session tracking and its importance?
What is the use of servlet context?
What are the types of protocols supported by httpservlet ?
Whats the advantages using servlets over using CGI?
How printwriter is different from servletoutputstream?
Explains the differences between context.getrequestdispatcher() and request.getrequestdispatcher()?
Why doesn’t a servlet include main()?
Differentiate between get and post?
What are the phases of a servlet life cycle?
Why servlet is mostly used?