struts2.0 下The Struts dispatcher cannot be found 解决方法
2011-07-07 20:57
567 查看
最近新装了一个myecplise8 ,以前在公司做项目都是用公司的框架来做项目的,环境的整合这些公司都帮 我们做好了,我们只要做好好各个模块的功能就可以了,自己想整合一下SSH框架,刚配置好STRUTS2的环境 ,我觉得我各个方面都 没有问题了,但是就是打不开首页提示:
The Struts dispatcher cannot be found
网上找了一下才知道 是这样的原因 ,及以下的三个解决的办法 ,我用其中的方案二个办法,就可 以配置成功,也可以正常的运行了。
原因:如果想要在jsp文件中,采用 struts的tag,那么必须通过web.xml所配置的过滤器访问文件,否则会有异常,即 之前所出现的异常
解决方案: 方案一:我自己也不明白,就不贴了。 方案二: 将web.xml 的过滤器,从 *.action 修改为: /* 方案三: 修改SayHello.jsp 文件,不使用 struts 的标签。
The Struts dispatcher cannot be found
网上找了一下才知道 是这样的原因 ,及以下的三个解决的办法 ,我用其中的方案二个办法,就可 以配置成功,也可以正常的运行了。
原因:如果想要在jsp文件中,采用 struts的tag,那么必须通过web.xml所配置的过滤器访问文件,否则会有异常,即 之前所出现的异常
解决方案: 方案一:我自己也不明白,就不贴了。 方案二: 将web.xml 的过滤器,从 *.action 修改为: /* 方案三: 修改SayHello.jsp 文件,不使用 struts 的标签。
相关文章推荐
- The Struts dispatcher cannot be found异常的解决方法
- org.apache.jasper.JasperException: The Struts dispatcher cannot be found的解决方法
- org.apache.jasper.JasperException: The Struts dispatcher cannot be found的解决方法
- JSP The Struts dispatcher cannot be found异常的解决方法
- Struts2.0的异常 The Struts dispatcher cannot be found.
- The Struts dispatcher cannot be found. This is usually caused by using Struts tags without the associated filter. 异常的处理方法
- 解决struts2中UI标签出现的问题: The Struts dispatcher cannot be found
- struts2 The Struts dispatcher cannot be found异常解决办法
- The Struts dispatcher cannot be found in struts2
- The Struts dispatcher cannot be found
- The Struts dispatcher cannot be found.
- struts2错误:The Struts dispatcher cannot be found.
- The Struts dispatcher cannot be found
- 解决MyEclipse Struts.xml 中通配符报错“xx cannot be found in the namespace”
- The struts dispatcher cannot be found
- struts2错误:The Struts dispatcher cannot be found.
- The Struts dispatcher cannot be found. This is usually caused by using Struts tags without the assoc
- The Struts dispatcher cannot be found. This is usually caused by using Struts tags without the assoc
- The Struts dispatcher cannot be found.
- The Struts dispatcher can be not found---解决办法