`
lgstarzkhl
  • 浏览: 330872 次
  • 性别: Icon_minigender_1
  • 来自: 沈阳
社区版块
存档分类
最新评论

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

    博客分类:
  • java
阅读更多
HTTP Status 404 - There is no Action mapped for namespace / and action name Login.
出现这个错误,郁闷半天,最后发现是struts2的版本问题,我是使用最新的struts配置2.1.8
不管如何都是找不到,最后查找到更改web.xml中过滤器定义,好用
	<!-- 配置struts2过滤器 -->
    <filter>
        <filter-name>struts2</filter-name>
        <filter-class>org.apache.struts2.dispatcher.ng.filter.StrutsPrepareAndExecuteFilter</filter-class>
    </filter>
    <filter-mapping>
        <filter-name>struts2</filter-name>
        <url-pattern>/*</url-pattern>
    </filter-mapping>
分享到:
评论

相关推荐

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

    struts2教程-学习笔记.zip

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

    计算机组成与结构体系英文课件: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...

    TaskManager

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

    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

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

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

    黑金zynq教程

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

    numpy-numpy教程之MemorymappedFiles.zip

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

    查看opensuse硬件信息

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

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

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

    mapped-types:Nest框架的配置模块(node.js):wolf:

    $ npm i --save @nestjs/mapped-types 快速开始 构建功能时,在基本实体类型上构建变体通常很有用。 这种变体的一个很好的例子是数据传输对象(DTO)。 数据传输对象是用于封装数据并将其从应用程序的一部分发送到...

    Struts2 框架搭建(基本)和几个报错问题

    1. **No Action mapped for namespace [/] and action name [helloWorld]**:这通常意味着Struts2没有找到对应的Action配置。检查`struts.xml`文件是否正确配置了Action。 2. **Class not found**:如果出现找不到...

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

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

Global site tag (gtag.js) - Google Analytics