在web.xml文件中的welcome-file写上想要设置的首页文件即可。
<welcome-file-list>
<welcome-file>login.html</welcome-file>
</welcome-file-list>
在web.xml文件中的welcome-file写上想要设置的首页文件即可。
<welcome-file-list>
<welcome-file>login.html</welcome-file>
</welcome-file-list>