Servlet container

What is difference between servlet container and servlet config?

Questions by gopalraop

Showing Answers 1 - 0 of 0 Answers

syd_irf

  • Apr 17th, 2008
 

Servlet container(sub set of web container) is the controller of the servlet.It creates the servlet,initializes,call the service method and finally destroy it.
Servlet config is an object.

srini235

  • May 20th, 2008
 

servlet container is part of web server which provides run time environment for servlets i.e it manages the entaire life cycle for the servlets like it creates instance,initialization,processing and destroying it.  

delindia

  • Dec 20th, 2011
 

A servlet config object is used by a servlet container, to pass information to a servlet during initialization.
The webserver uses separate module to load and run the servlets called servlet container.

A servlet container takes the information specified about the servlet in the deployment descriptor and wraps it into servletconfig object. This information can be retrieved by the servlet during initialization.

  Was this answer useful?  Yes

Give your answer:

If you think the above answer is not correct, Please select a reason and add your answer below.

 

Related Answered Questions

 

Related Open Questions