重要更新:

1、修改servlet层中BaseServlet中共享request的重大bug
2、将servlet中页面统一使用HttpScope进行渲染
This commit is contained in:
2018-06-30 21:29:15 +08:00
parent 102a658a5f
commit ad73300a25
10 changed files with 120 additions and 161 deletions

View File

@@ -11,6 +11,7 @@
<properties>
<property name="mongo.host" value="127.0.0.1"/>
<property name="mongo.database" value="redbbs"/>
</properties>
</resources>
@@ -24,6 +25,11 @@
<rest path="os" base="com.lxyer.bbs.base.BaseServlet" autoload="true">
</rest>
<request>
<!--从X-Real-IP参数中获取IP-->
<remoteaddr value="request.headers.X-Real-IP"/>
</request>
<servlets path="" autoload="true"/>