This commit is contained in:
Redkale
2016-09-14 09:36:33 +08:00
parent 2c75c04b7e
commit a81c9f7d21
4 changed files with 36 additions and 16 deletions

View File

@@ -175,6 +175,7 @@
<!--
当Server为HTTP协议时ResourceServlet才有效. 默认存在一个有默认属性的resource-servlet节点
webroot: web资源的根目录, 默认取server节点中的root值
servlet: 静态资源HttpServlet的实现默认使用HttpResourceServlet
index : 启始页默认值index.html
-->
<resource-servlet webroot="root" index="index.html">