There is no Action mapped for namespace / and action name login.的解决
来源:互联网 发布:mysql 删除数据库 编辑:程序博客网 时间:2024/05/16 08:06
我开始写的struts.xml文件:
<?xml version="1.0" encoding="UTF-8" ?>
<!DOCTYPE struts PUBLIC
"-//Apache Software Foundation//DTD Struts Configuration 2.0//EN"
"http://struts.apache.org/dtds/struts-2.0.dtd">
<struts>
<package name="struts2" extends="struts-defaults">
<action name="login" class="com.test.action.LoginAction">
<result name="success">/result.jsp</result>
</action>
</package>
</struts>
修改后的struts.xml文件:
<?xml version="1.0" encoding="UTF-8" ?>
<!DOCTYPE struts PUBLIC
"-//Apache Software Foundation//DTD Struts Configuration 2.0//EN"
"http://struts.apache.org/dtds/struts-2.0.dtd">
<struts>
<package name="struts2" extends="struts-default">
<action name="login" class="com.test.action.LoginAction">
<result name="success">/result.jsp</result>
</action>
</package>
</struts>
原来是红色部分的多写了一个s,写成了struts-defaults,
去掉s后问题解决
- There is no Action mapped for namespace / and action name login.的解决
- There is no Action mapped for namespace [/] and action name [login] associat...问题的另一个思路
- struts2 - There is no Action mapped for namespace [/login] and action name [login!loginInput] ...
- Struts 中There is no Action mapped for namespace / and action name...问题的解决
- Struts2中关于"There is no Action mapped for namespace / and action name"的错误解决
- 解决"There is no Action mapped for namespace / and action name ***"的方法
- 彻底解决STRUTS2 错误There is no Action mapped for namespace / and action name login
- There is no Action mapped for namespace [/] and action name [login] associate解决办法
- There is no Action mapped for namespace [/] and action name [login] associate解决办法 .
- There is no Action mapped for namespace [/] and action name [Login] associated with context path [/e
- There is no Action mapped for namespace [/] and action name [login] associated with context path [/M
- There is no Action mapped for namespace [/] and action name [Login] associated wi
- HTTP Status 404 - There is no Action mapped for namespace [/] and action name [login!welcome] associ
- MyEclipse Struts2 There is no Action mapped for namespace [/] and action name [Login]
- There is no Action mapped for namespace [/] and action name [login] associate解决办法 .
- There is no Action mapped for namespace / and action name login.
- There is no Action mapped for namespace / and action name login. - [unknown location]
- There is no Action mapped for namespace [/] and action name [login] associated with context path [/p
- C++ 的“武”和“功”是什么?
- 在 IE 中用VBScript 实现不提示直接打印
- 二维码相关
- java的学习基础
- maven
- There is no Action mapped for namespace / and action name login.的解决
- __fastcall具体含义
- [全程建模]rose工具如何打开两个mdl文件问题
- 索引缓冲区
- 什么是RSS?
- 第一部分:介绍(OLE Drag和Drop随笔)
- omap-nand-flash.c的阅读
- OpenProcessToken这个函数用法
- Fedora9 使用心得