当前位置: 代码迷 >> Web前端 >> struts标记不辨别
  详细解决方案

struts标记不辨别

热度:117   发布时间:2012-09-17 12:06:51.0
struts标记不识别
The Struts dispatcher cannot be found. This is usually caused by using Struts tags without the associated filter.

对应的可能只能是如下两项

(1)JSP页面中没有加入类似下面内容:
<%@ taglib prefix="s" uri="/struts-tags"%>
(2)拦截器不是/*
<filter-mapping>
    <filter-name>struts2</filter-name>
    <url-pattern>/*</url-pattern>
  </filter-mapping>
  相关解决方案