<welcome-file-list> <welcome-file>index.html</welcome-file> </welcome-file-list>
我试着用index.ftl来设置,发现无法访问,用localhost:8080/oa来访问,报404,可见Tomcat只认识常用的页面的后缀,所以增加了index.html
<script type="text/javascript">window.location = "index.ftl"</script>
<welcome-file-list> <welcome-file>index.html</welcome-file> </welcome-file-list>
我试着用index.ftl来设置,发现无法访问,用localhost:8080/oa来访问,报404,可见Tomcat只认识常用的页面的后缀,所以增加了index.html
<script type="text/javascript">window.location = "index.ftl"</script>