1. Download the Windows version of JDK and Tomcat.
D:\Java\jdk1.7.0_79 Oracle Website Download
D:\apache-tomcat-7.0.90
Http://mirrors.shu.edu.cn/apache/tomcat/tomcat-7/v7.0.90/bin/apache-tomcat-7.0.90-windows-x64.zip
Installing the Eclipse software
2, switch to the new workspace D:\Users\Administrator\tomcat7.
3. Configure fonts
4. Set the encoding
5. Add Server
6, configure the server, that is, configure the Tomcat and JDK parameters.
7. Set the server code storage location.
Select the middle option to configure the save. (Convenient selection of code storage paths between projects)
8. Create a Dynamic Web project.
9. Testing Web Services
Create an HTML file,
Edit the index.html file.
<! DOCTYPE html>
<meta charset="UTF-8">
<title>insert title here</title>
<body>
</body>
10, run to the server (run on server),
View the project catalog,
Eclipse Create Java Web project