idea创建maven项目默认访问index.jsp的修改方法
在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>
之后就能跳转到对应的页面了。