`

HTTP Status 404 - There is no Action mapped for namespace / and action name log

阅读更多

使用struts2时异常:

HTTP Status 404 - There is no Action mapped for namespace / and action name loginaction.

 

报该异常的原因有:

 

1). 在struts.xml文件的action配置有误

2). url中的action name与struts.xml文件中的aciotn name不相符,也就是拼写有误

3). struts.xml文件没有在classes目录下

分享到:
评论

相关推荐

    HTTP Status 404 - There is no Action

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

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

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

    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 引入项目后直接发布就可以了!

    struts_2.3.12GA_API文档(chm版本)

    Stops the action invocation immediately (by throwing a PauseException) and causes the action invocation to return the specified result, such as Action.SUCCESS, Action.INPUT, etc. void ...

    MDB: A Memory-Mapped Database and Backend for OpenLDAP

    MDB: A Memory-Mapped Database and Backend for OpenLDAP

    TaskManager

    利用业余时间,写了个貌似windows自带的任务管理器(私下认为其功能更甚windows自带的)。 封装了许多API接口成为类(一些源自网络,一些自己封装),方便C++使用。但是对整个代码的设计比较烂,打算在学完设计模式...

    原创GSM基带信号的中频调制-qam_symbol_mapped.m

    原创GSM基带信号的中频调制-qam_symbol_mapped.m 这是GSM基带信号的处理程序,包括符号映射、插值、调制等过程

    Read-and-write-memory-mapped-file.rar_SLE4442_memory_映射内存 读写

    本代码用来对WinCE环境下内存映射的读写,当在系统总线上扩展新的硬件设备时会非常重要。

    黑金zynq教程

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

    第14章:网络编程(day20).zip

    [[03 08:58:22,466 INFO ] org.springframework.context.support.AbstractApplicationContext.prepareRefresh(AbstractApplicationContext.java:511) - Refreshing WebApplicationContext for namespace 'hessian-...

    查看opensuse硬件信息

    Absolute path to 'lspci' is '/sbin/lspci', so running it may require superuser privileges (eg. root). spring@linux-njgq:~> cat /proc/meminfo MemTotal: 2054648 kB MemFree: 1305828 kB Buffers: 21804 kB ...

    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 ...

    cp201x资源启动程序

    Now make sure that this "ttyUSBx" is set as the destination port, baud rate is 115200, and 8N1 mode for minicom, by running the command 'minicom -s'. Note that running the "minicom -s" command as a ...

    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][,.....

    Energy-pooling collisions in Rb-Cs vapor mixture Rb(5P_(J))+Cs(6P_(3/2))--&gtRb(5S_(1/2))+Cs(nl_(J'))

    Rate coefficients for energy-pooling (EP) collisions Rb(5P_(J))+Cs(6P_(3/2))--&gtRb(5S_(1/2))+Cs(nl_(J')) have been measured. Atoms were excited to Rb(5P_(J)) and Cs(6P_(3/2)) states using two single-...

    servlet2.4doc

    Returns the servlet container attribute with the given name, or null if there is no attribute by that name. getAttribute(String) - Method in class javax.servlet.ServletRequestWrapper The default ...

    MemoryMappedFile 使用 共享内存循环读写

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

    Memory-Mapped Files for Qualcomm Brew

    Memory-Mapped Files for Qualcomm Brew By Ray Rischpater

Global site tag (gtag.js) - Google Analytics