In World Wide Web technology contexts, a web container comprises essentially the component of a web server that interacts with the servlets.

The web container 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.