为了账号安全,请及时绑定邮箱和手机立即绑定

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页面都出不来了?

正在回答

2 回答

<filter-mapping>  

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

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

</filter-mapping>

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

1 回复 有任何疑惑可以回复我~

标题是错误信息

0 回复 有任何疑惑可以回复我~

举报

0/150
提交
取消
Struts2入门
  • 参与学习       95061    人
  • 解答问题       456    个

本教程带你踏上Struts2学习之旅,对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

我要回答 关注问题
意见反馈 帮助中心 APP下载
官方微信