Google News
logo
Java Servlets - Interview Questions
What is a servlet container, and what does it do?
Servlet containers are also called web containers and are used to store other servlet components such as multiple threads.

Servlet containers :
 
* Eases communication between browsers and servlets.
* Manage servlet life cycles.
* Create new threads for every servlet request, providing them with the response and request objects.
* Provide support for JavaServer Pages (JSP).
* Handle numerous miscellaneous tasks such as garbage collection, providing security configurations, and memory optimization.
Advertisement