Hi -
A "web server" is anything that responds to HTTP requests; ie. anything that serves web pages. Apache, Apache/Tomcat, IIS and JBoss/Tomcat are all examples of web servers.
A "web container" is a web-based, runtime environment to support
J2EE components. Just as a "servlet container" (such as provided by
Tomcat) is a runtime environment for
Java servlets.
Having a "web container" implies having a "web server". But a "web server" need not have anything to do with web containers.
Or, more simply:
A Web application runs within a Web container of a Web server.
http://www.service-architecture.com/application-servers/articles/j2ee_web_server_or_container.html
'Hope that helps .. PSM