1.Servers 右击Tomcat->add and remove->将你的项目add->右击clean->start
只输入项目地址,访问的页面是默认指定的页面,在web.xml中通过
<welcome-file-list>
<welcome-file>index.jsp</welcome-file>
<welcome-file>index.html</welcome-file>
</welcome-file-list>
1.Servers 右击Tomcat->add and remove->将你的项目add->右击clean->start
只输入项目地址,访问的页面是默认指定的页面,在web.xml中通过
<welcome-file-list>
<welcome-file>index.jsp</welcome-file>
<welcome-file>index.html</welcome-file>
</welcome-file-list>