The Struts dispatcher cannot be found....

  1. The Struts dispatcher cannot be found.   This is usually caused by using Struts tags without the associated filter. Strut   
  2. s tags are only usable when the request has passed through its servlet filter, which initializes the Struts dispatcher n   
  3. eeded for this tag. - [unknown location]

將<filter>
<filter-name>cleanup</filter-name>
<filter-class>org.apache.struts2.dispatcher.ActionContextCleanUp</filter-class>
</filter>
<filter-mapping>
<filter-name>cleanup</filter-name>
<url-pattern>/*</url-pattern>
</filter-mapping>放到最前面就沒出現了

發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章