Idea动态Web项目设置启动页
这个很简单的啦
只要在web.xml中配置一下就可以啦
<?xml version="1.0" encoding="UTF-8"?>
<web-app xmlns="http://xmlns.jcp.org/xml/ns/javaee"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://xmlns.jcp.org/xml/ns/javaee http://xmlns.jcp.org/xml/ns/javaee/web-app_4_0.xsd"
version="4.0">
<welcome-file-list>
<welcome-file>index.jsp</welcome-file><!--你所要展示的页面路径-->
</welcome-file-list>
</web-app>
这样TomCat运行以后第一个打开的就是这个页面啦