1.点击左上角的file->new->Other
2.输入:dy后会跳出 Dynamic Web Project
3.点击:Dynamic Web Project->next
4.输入项目名称:newWeb
5.点击 next->next
6.在Generate web.xml deploument descriptor 前面选择打钩
7.点击 Finish
8.项目创建完成
9.打开项目,打开webContent 创建一个 index.html文件
10.点击WebContent ->New->html File
11.在NewFile.html中的body中写上 HELLOWORLD!
12.点击项目,Run as->1 Run as Servers.
13.在网页上输入:localhost:8080/newWeb/NewFile.html
14.在网页上即可看到HELLOWORLD! 大吉大利,今晚吃鸡~