`

There is no Action mapped for namespace /xxx and action name xxxAction

阅读更多

错误原因查找:

1. 查看你的struts.xml 文件是否在src目录下;

2. 查看你的struts.xml语法是否正确;

3. 确认一下你是否在添加了<action><result></result></action>之后有没有重启tomcat,有没有重新build你的项目文件;(有可能是,你做的struts配置一个action之后,又去做了很久其他修改操作,忘记重启tomcat,当执行action的时候报这样的错误。)

4. 你的页面中的action可能需要添加namespace参数;

1
0
分享到:
评论
1 楼 左手边 2011-09-21  
这种原因一般都是直接线查找struts.xml文件的,然后一层一层向上找,我觉得这是最有效的方法

相关推荐

    一个struts2的例子:彻底解决STRUTS2 错误There is no Action mapped for namespace / and action name login

    前几天在网上下载一个struts2的helloword的例子,那个作者也真够缺德的,搞个错误的程序,害得我查了一天的程序错误。 最后发现竟然是struts.xml被写成啦sturts.xml。 碰见这样的问题先鄙视下提供例子的作者, ...

    HTTP Status 404 - There is no Action

    HTTP Status 404 - There is no Action mapped for namespace and action name BackMemberGroupAudit..doc

    weblogic安装部署以及常见问题解决

    该文档对weblogic使用过程中,包括下载,安装,部署...6. weblogic部署war包action不能访问问题解决方法 [There is no Action mapped for namespace / and action name]. 5 7. java.lang.StackOverflowError. 5 等等

    解决使用struts2 时 访问web工程首页问题

    http://localhost:8080/ struts2会拦截,出现异常信息 There is no Action mapped for namespace / and action name.默认配置的welcomefile没有起作用。 按附件配置即可解决此问题

    struts2 HelloWord例字

    在网上找了好个struts2的例子结果都不好使报There is no Action mapped for namespace / and action name这个错,没办法自己搞了个好用的,myeclipse 6.0 +tomcat5.5 + jdk 1.5 引入项目后直接发布就可以了!

    MDB: A Memory-Mapped Database and Backend for OpenLDAP

    MDB: A Memory-Mapped Database and Backend for OpenLDAP

    Fixed comparing against disconnected mapped network drives to pr

    Fixed comparing against disconnected mapped network drives to prompt for username/password and reconnect.

    Ambiguous mapping. Cannot map *** method 报错解决

    开发中,我们常常会遇到很多异常报错,现在就我工作中经常遇到的报错做记录和总结,首先对自己会有很大的帮助,同时希望对读者也起到一定的帮助。废话不多说,先上报错。 1. Ambiguous mapping....

    微软内部资料-SQL性能优化2

    To reserve or commit memory and unintentionally not release it when it is no longer being used. A process can leak resources such as process memory, pool memory, user and GDI objects, handles, threads...

    acpi控制笔记本风扇转速

    is larger than the largest known FADT version, and 2) if there is a mismatch between a 32-bit block address and the 64-bit X counterpart (when both are non-zero.) Example Code and Data Size: These ...

    Memory-Mapped Files for Qualcomm Brew

    Memory-Mapped Files for Qualcomm Brew By Ray Rischpater

    黑金zynq教程

    黑金zynq入门教程,ALINX黑金Zynq7000开収平台 配套教程第二部

    Vector CANdb++ SP27 CAN报文编辑软件

    For a node's Mapped Rx signal, the assigned value table is displayed in the dialog box in addition to the overview. For user-defined attributes with the type "hex" it is now possible to define the min...

    外文翻译 stus MVC

    There is no flow logic, no business logic, and no model information -- just tags. Tags are one of the things that make Struts unique compared to other frameworks like Velocity. Note: "Think thin" ...

    SSD7 选择题。Multiple-Choice

    When mapping from an ER model to a relational model, a strong entity is mapped into a (a) table (b) row (c) column (d) key Correct answer is (a) 10. Which of the following is true about ...

    MemoryMappedFile 使用 共享内存循环读写

    MemoryMappedFile 使用 C# 内存中分配一大块地址. 前边分配一个用与共同配置用 后边N个结构体 for循环建 一般用到此问题,两本程序 一个读一个写 循环读写 ----2015/09/24 Lyndon 上海----

    Simulating planar reflection using two-pass rendering and texture mapping

    3. There is a point light and a single directional light in the scene. 4. There is one rotating triangle floating in the air, casting a shadow on the table, walls and other objects. 5. The program ...

    Qemu-1.0.1 for windows

    'disk_image' is a raw hard disk image for IDE hard disk 0 Standard options: -h or -help display this help and exit -version display version information and exit -machine [type=]name[,prop[=value][,.....

    Devart LinqConnect 3.1

    The algorithm for forming the Navigation Properties names, when there are several FOREIGN KEY constraints between the same tables, is changed The documentation generation for navigation properties is ...

    free_and_open_source_software_for_development.pdf

    Indian Subcontinent, India, and there is a strong promotion by the Asian-Pacific Development Information Programme (APDIP) for the use of FOSS in the countries in South East Asia. On the contrary, ...

Global site tag (gtag.js) - Google Analytics