This commit is contained in:
Redkale
2016-07-12 14:08:14 +08:00
parent 01da67dbf8
commit 00b6910986
3 changed files with 12 additions and 5 deletions

View File

@@ -156,8 +156,9 @@
<!--
当Server为HTTP协议时ResourceServlet才有效. 默认存在一个有默认属性的resource-servlet节点
webroot: web资源的根目录, 默认取server节点中的root值
index : 启始页默认值index.html
-->
<resource-servlet webroot="root">
<resource-servlet webroot="root" index="index.html">
<!--
资源缓存的配置, 默认存在一个含默认属性的caches节点
limit: 资源缓存最大容量, 默认: 0, 为0表示不缓存 单位可以是B、K、M、G不区分大小写