1.web Server
The Chinese name of Web server is called a Web server or Web server. The Web server is also known as the WWW (World WIDE Web) server, and the main function is to provide online information browsing services. The Web server can parse the (handles) HTTP protocol. When the Web server receives an HTTP request (request), it returns an HTTP response (response), such as sending back an HTML page. In order to process a request, the Web server can respond (response) to a static page or picture, perform a page jump (redirect), or delegate the generation of dynamic Responses (response) (delegate) Give some other programs such as CGI scripts, JSP (JavaServer Pages) scripts, servlets,asp (Active server Pages) scripts, server-side (server-side) JavaScript, or some other server-side (server-side) technology. These server-side (server-side) programs typically produce an HTML response (response) to allow the browser to navigate, regardless of the purpose of their (translator's note: script).
2.web container
The implementation of the Web container Java EE Standard provides the operating environment for Serverlet and JSP. For example, when an HTTP request is accessed by a Web component (typically a serverlet or JSP), it is usually forwarded to the Web container and then returned to the Web server. Tomcat is a lightweight web container.
Java EE Week 14th