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


Please Help Members By Posting Answers For Below Questions

How do you design microservices?

815


How do you configure a centralized error handler in servlets?

755


What are the steps that are involved in using the httpservlet class?

832


What is called servlet mapping?

735


What is the web server used for running the Servlets?

752


what is servlet chaining?

822


What is servlet in web technology?

764


What is new in ServletRequest interface ? (Servlet 2.4)

774


Explain how to improve Servlet Performance?

822


What are the phases of servlet life cycle?

813


What is the effective way to make sure all the servlets are accessible only when user has a valid session?

790


What is difference between PrintWriter and ServletOutputStream?

992


What is servlet lazy loading?

893


What is the difference between genericservlet and httpservlet

767


Why servlet is mostly used?

959