idea创建maven项目默认访问页面的修改
在web.xml文件中的<web-app标签>之间加入代码
<welcome-file-list>
<welcome-file>这儿写你要显示的页面名称</welcome-file>
</welcome-file-list>
之后就能跳转到对应的页面
在web.xml文件中的<web-app标签>之间加入代码
<welcome-file-list>
<welcome-file>这儿写你要显示的页面名称</welcome-file>
</welcome-file-list>
之后就能跳转到对应的页面