项目准备工作

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>

猜你喜欢

转载自blog.csdn.net/qq_39370495/article/details/80687438