| |||||||||
A servlet container comprises essentially the component of a web server that hosts and interacts with Java servlets.
A servlet container controls the servlets that are deployed within the Web Server and is responsible for forwarding the requests and responses for them. It has the functionality of mapping a URL to a particular servlet and of ensuring that the process requesting the URL has the correct access rights.
Like the other Java APIs, different vendors provide their own implementation. Below is a list of some of the free and commercial servlet containers.