welcome-file-list用法:
web.xml
<welcome-file-list>
<welcome-file>index.jsp</welcome-file>
<welcome-file>index.html</welcome-file>
</welcome-file-list>
先访问index.jsp在访问index.html都没有就报404的错
welcome-file-list用法:
web.xml
<welcome-file-list>
<welcome-file>index.jsp</welcome-file>
<welcome-file>index.html</welcome-file>
</welcome-file-list>
先访问index.jsp在访问index.html都没有就报404的错