pjx_raul 2009-05-10 19:39
浏览 294
已采纳

using Struts tags without the associated filter


struts2
*.action

时就会出现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. - [unknown location]

当我改为/× 时又是正确的
但因为整合了原来项目的struts1,所以只能为*.action 应该怎么解决这一问题
[b]问题补充:[/b]
挨,我也不想阿,但是现在必须,我学的是2,但是现在要给原来项目添加功能。所以只能这样,请问能有什么方法么
[b]问题补充:[/b]
呵呵,谢谢

  • 写回答

2条回答 默认 最新

  • zhoujuan520 2009-05-11 08:01
    关注

    不要因为你只会2而去冒这个险,花一两天时间,网上很多的示例的。你学习一下就可以了。struts1 比struts2感觉要简单。害怕与懒惰是开发人员不应该具有的。

    本回答被题主选为最佳回答 , 对您是否有帮助呢?
    评论
  • zhoujuan520 2009-05-10 20:11
    关注

    struts1 和 struts2不要混合用

    评论
查看更多回答(1条)

报告相同问题?

悬赏问题

  • ¥15 在工控机(Ubuntu系统)上外接USB蓝牙硬件进行蓝牙通信
  • ¥15 关于PROCEDURE和FUNCTION的问题
  • ¥100 webapi的部署(标签-服务器)
  • ¥20 怎么加快手机软件内部计时的时间(关键词-日期时间)
  • ¥15 C语言除0问题的检测方法
  • ¥15 为什么四分管的内径有的是16mm有的15mm,四分不应该是12.7mm吗
  • ¥15 macos13下 ios交叉编译的问题
  • ¥15 bgz压缩文件怎么打开
  • ¥15 封装dll(引入了pcl的点云设计库)
  • ¥30 关于#开发语言#的问题:我需要在抄板的基础上再抄板抄程序,根据RDA8851CM基础上开发