问答详情
源自:4-10 关于input的代码演示-深入Struts2

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

  为什么一添加的这个标签login.jsp页面都出不来了?

提问者:weibo_阿大木木_0 2017-10-28 23:58

个回答

  • weibo_阿大木木_0
    2017-10-29 00:11:06

    <filter-mapping>  

        <filter-name>struts2</filter-name>  

        <url-pattern>*.jsp</url-pattern>  

    </filter-mapping>

    解决了,添加一个过滤设置就好了

  • weibo_阿大木木_0
    2017-10-28 23:59:35

    标题是错误信息