1.找到tomcat安装路径
2.conf目录下server.xml文件
<Host name="localhost" appBase="webapps"
unpackWARs="true" autoDeploy="true">
<Context docBase="项目路径/项目名" path="" reloadable="false"/>
</Host>
3.项目的web.xml
<display-name>com.laysolitary.Seating</display-name>
<welcome-file-list>
<welcome-file>index.html</welcome-file>
<welcome-file>index.htm</welcome-file>
<welcome-file>index.jsp</welcome-file>
<welcome-file>default.html</welcome-file>
<welcome-file>default.htm</welcome-file>
<welcome-file>default.jsp</welcome-file>
</welcome-file-list>
index.*及你的主页面
4.启动tomcat
输入local:8080就能访问到页面