`

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

    在Web开发中,尤其是使用基于Java的Web框架如Struts时,开发者可能会遇到一个常见的问题:“HTTP Status 404 - There is no Action mapped for namespace and action name BackMemberGroupAudit”。这个问题通常出现...

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

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

    struts2 HelloWord例字

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

    struts2教程-学习笔记.zip

    "There is no Action mapped for namespace and action name错误的解决方法.txt"文档可能详细解释了这个问题的成因,如配置错误、Action类未正确指定、或者struts.properties或struts.xml配置文件中的条目缺失。...

    Unix Commands (Aix Freebsd Hpux Linux Solaris & Tru64)

    Understanding these differences and similarities is essential for managing users and files effectively across different Unix systems. Administrators should refer to specific documentation or manuals ...

    struts2 的异常收集

    HTTPStatus 404 - There is no Action mapped for namespace [/] and action name [user_login] ``` 这通常意味着在`struts.xml`中未为指定的动作名和命名空间配置对应的Action处理类。解决这一问题的关键在于确保...

    计算机组成与结构体系英文课件:Chapter3 BasicInputOutput.pdf

    - In this approach, I/O devices and memory share the same address space, meaning that no special commands are needed for I/O operations. Instead, I/O operations resemble memory reads and writes. - ...

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

    标题中的"Read-and-write-memory-mapped-file.rar_SLE4442_memory_映射内存 读写"提到了两个主要概念:SLE4442芯片和内存映射文件的读写操作。SLE4442是一种智能卡芯片,常用于存储安全数据,如加密密钥。在WinCE...

    struts 中遇到的常见问题 解决,你还在痛苦中吗

    本文将针对其中一种常见的错误提示:“There is no Action mapped for namespace / and action name”进行深入分析,并给出相应的解决方法。 #### 二、问题描述 当在使用 Struts 框架开发 Web 应用时,如果配置...

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

    TaskManager

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

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

    错误信息通常为:“There is no Action mapped for namespace / and action name.”,这意味着Struts2在尝试处理请求时找不到对应的Action映射。此外,如果设置了默认的欢迎页面(welcome file),但在启动应用后...

    apache-log4j-2.0-rc1-src

    Apache Log4j是Java平台上的一个著名日志记录框架,其2.0版本的重大更新带来了许多性能提升和功能增强。Log4j 2.0 RC1(Release Candidate 1)是该系列的一个候选版本,意味着它在正式发布之前用于测试和反馈。这个...

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

    6. **"There is no Action mapped for namespace / and action name."**:此问题通常出现在Struts应用中,检查`struts-config.xml`或`struts2.xml`配置文件,确保Action的namespace和name配置无误。 7. **java.lang...

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

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

    apache-log4j-2.11.2-bin

    Apache Log4j是Java平台上的一个著名日志记录框架,其版本2.11.2是该库的一个稳定发行版,提供了丰富的日志功能和性能优化。在Java应用程序开发中,尤其是在Spring和Spring MVC框架中,Log4j是常用的日志解决方案之...

    黑金zynq教程

    Zynq是Xilinx公司推出的集成了ARM处理器和FPGA功能的SoC平台,它支持片上系统(SoC)解决方案,将处理器和可编程逻辑紧密结合,使设计师能够在单个芯片上实现高性能的处理和灵活的可编程逻辑功能。...

    web.xml详解(web-app_2_3.dtd)

    <location>/error/404.jsp</location> </error-page> ``` #### 15. `taglib`元素 `taglib`元素用于声明自定义标签库的位置。DTD定义如下: ```xml <!ELEMENT taglib (taglib-uri, taglib-location)> <!ELEMENT ...

    numpy-numpy教程之MemorymappedFiles.zip

    在处理大量数据时,内存管理是一项关键任务,而NumPy中的Memory-mapped Files(内存映射文件)机制就是一个高效的数据处理工具。本文将深入探讨Memory-mapped Files在NumPy中的使用和其背后的原理。 Memory-mapped ...

    计算机组成与结构体系英文课件:Chapter3 BasicInputOutput

    As these devices typically operate at slower speeds compared to the CPU and RAM, there is a need for I/O interfaces. An I/O device interface acts as a mediator, facilitating data transfer and ...

Global site tag (gtag.js) - Google Analytics