A. HTTP protocol
https://www.cnblogs.com/vamei/archive/2013/05/11/3069788.html
Two. Tomcat ----------> web server
1. tomcat is a web service providing software, its usefulness is:
(1) provides access to static resources
(2) provides a user interface custom business logic
2. What is a web server?
Follow the http protocol that provides access to static and dynamic resources software called web 'server ()
The browser requests the server flowchart
3. tomcat directory structure of the software
Double-click the Start startup.bat
4. tomcat in eclipse release
The first step: Click the window on the eclipse ---> Preferences ---> Server ---> runtime Enviroments ----> Add, get the following chart
Note that this is not likely to Server option, the solution --------> https://www.cnblogs.com/jj1106/p/11599239.html
Choose your own version of tomcat
Click apply and close to complete release
Click on the top right corner of the open Perspective eclipse, and select java EE drop-down box, as shown below
Note that this is not java EE options may (not installed java ee plug-in), the solution: https: //www.cnblogs.com/jj1106/p/11600948.html
At this time, the following options will appear Servers (if not, then Windows ---> Show View -> Servers ), as shown below
5. Create a web project
(1)new ---> dynamic web project -- >
(2) the project will be deployed in the tomcat
(2) after the completion of the deployment project start project
Access the web server: HTTP: // localhost: 8080 / Day12 / demo1.html
You can get the text content demo1.html