input錯(cuò)誤
The Struts dispatcher cannot be found. This is usually caused by using Struts tags without the associated filter. Struts tags are only usable when the request has passed through its servlet filter, which initializes the Struts dispatcher needed for this tag.?
出現(xiàn)這個(gè)那還是得配置過(guò)濾器?
2015-12-10
(1)JSP頁(yè)面中沒(méi)有加入類似下面內(nèi)容:
<%@ taglib prefix="s" uri="/struts-tags"%>
(2)攔截器不是/*
?<filter>
? <filter-name>struts2</filter-name>
? <filter-class> ? org.apache.struts2.dispatcher.FilterDispatcher
? </filter-class>
?</filter>
<filter-mapping>
?? <filter-name>struts2</filter-name>
?? <url-pattern>/*</url-pattern>
</filter-mapping>
2017-10-28
這個(gè)錯(cuò)誤怎么解決的?