FilterDispatcher is deprecated! Please use
2019獨(dú)角獸企業(yè)重金招聘Python工程師標(biāo)準(zhǔn)>>>
在struts2.3.7下,web.xml中使用
會(huì)出現(xiàn)
***********************************************************************
*?
?????????????????????????????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???????????*
*????????????????????????????????????????????????????????????????????*
***********************************************************************
原因在于:
Class FilterDispatcher
Deprecated.?Since Struts 2.1.3, useStrutsPrepareAndExecuteFilterinstead or StrutsPrepareFilterand StrutsExecuteFilterif needing using the ActionContextCleanUpfilter in addition to this one
解決方法,將web.xml上述代碼改為:
轉(zhuǎn)載于:https://my.oschina.net/shaonan/blog/552118
總結(jié)
以上是生活随笔為你收集整理的FilterDispatcher is deprecated! Please use的全部?jī)?nèi)容,希望文章能夠幫你解決所遇到的問題。
- 上一篇: rpm与yum详解
- 下一篇: Ubuntu14.04更新源