如何避免以下错误?我正在Struts2上实现Spring-Security,应用程序运行完美,但以下消息将显示在服务器日志中.
WARNING!!!
FilterDispatcher <<< is deprecated! Please use the new filters!
This can be a source of unpredictable problems!
Please refer to the docs for more details!
http://struts.apache.org/2.x/docs/webxml.html
Run Code Online (Sandbox Code Playgroud)
Dav*_*ton 36
我建议按照链接进行操作:
<filter>
<filter-name>struts2</filter-name>
<filter-class>
org.apache.struts2.dispatcher.ng.filter.StrutsPrepareAndExecuteFilter
</filter-class>
</filter>
Run Code Online (Sandbox Code Playgroud)
| 归档时间: |
|
| 查看次数: |
19082 次 |
| 最近记录: |