Myeclipse中Action基本配置 There is no Action mapped for namespace [/] and action name [stu] associated 问题

来源:互联网 发布:有没有5g网络 编辑:程序博客网 时间:2024/05/17 08:27

在练习Struts2控制器时,编写完内容后,试运行时出现There is no Action mapped for namespace [/] and action name [stu] associated with...错误。

仔细检查后发现,出现此错误的原因是struts.xml的命名未命名正确,...将其命名成了structs.xml

不过应该也有其他的原因会导致此错误....暂时还没碰到。

在创建时,注意其创建的位置与名称是否正确,应当可以避免一些不必要的麻烦。


阅读全文
0 0
原创粉丝点击