input错误

来源:4-10 关于input的代码演示-深入Struts2

scala_somnus_gxy

2015-11-27 14:13

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. 

出现这个那还是得配置过滤器?

写回答 关注

2回答

  • Fcming
    2015-12-10 23:19:07

    (1)JSP页面中没有加入类似下面内容:
    <%@ 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>

  • weibo_阿大木木_0
    2017-10-28 23:54:03

    这个错误怎么解决的?

Struts2入门

本教程带你踏上Struts2学习之旅,对Struts2进行更深入讲解

95048 学习 · 481 问题

查看课程

相似问题