2013年7月29日
>>> FilterDispatcher <<< is deprecated! Please use the new filters
最近struts2發生了問題 照官方解法換了jar檔們
但換完後跑出下面訊息
***********************************************************************
*                               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            *
*                                                                     *
***********************************************************************
原來是有一個filter  繼承了FilterDispatcher 
google到解法是換成 繼成 StrutsPrepareAndExecuteFilter 即可
但目前換完後 還沒測試出是否有影響原功能(照理來說應該是不會....)
沒有留言:
張貼留言