message There is no Action mapped for namespace [/] and action name [user1_execute] associated with
来源:互联网 发布:查莉娅技能数据 编辑:程序博客网 时间:2024/06/06 04:11
报错信息:
type Status reportmessage There is no Action mapped for namespace [/] and action name [user1_execute] associated with context path [/day33_].description The requested resource is not available.
解决方案:
修改了命名空间,不能有重复的包名
<!-- 包结构 --> <package name="defalut" namespace="/" extends="struts-default"> <action name="user_*" class="com.itcast.action.Demo1action" method="{1}"> <result name="login">/login.htm</result> <result name="success">/Demo1/suc.jsp</result> </action> </package> <!--这里name改掉才能用,不能再写default,不能有两个一模一样名字的包-- > <package name="Demo2" namespace="/" extends="struts-default"> <action name="user2_*" class="com.itcast.action.Demo2action" method="{1}"> <result name="login">/login.htm</result> <result name="success">/Demo1/suc.jsp</result> </action> </package>
0 0
- message There is no Action mapped for namespace [/] and action name [user1_execute] associated with
- message There is no Action mapped for namespace [/] and action name [login] associated with context
- There is no Action mapped for namespace [/] and action name [hello] associated with context path [/
- struts2-There is no Action mapped for namespace [/] and action name associated with
- There is no Action mapped for namespace [] and action name [] associated with context path []
- There is no Action mapped for namespace [/] and action name [upload/] associated with context path
- 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 [] associated with context path [/struts
- There is no Action mapped for namespace [/] and action name [viewLogAction] associated with context
- 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 [] associated with context path [/dxm__s
- There is no Action mapped for namespace [/] and action name [hello2] associated with context path [/
- struts2配置错误 There is no Action mapped for namespace [/] and action name [] associated with context
- 部署Struts遇到“There is no Action mapped for namespace [/] and action name [...] associated with .."问题
- Messages: There is no Action mapped for namespace [/] and action name [] associated with context pat
- There is no Action mapped for namespace [/] and action name [spropertyvalue] associated with context
- There is no Action mapped for namespace [/] and action name [user!add] associated with context path
- There is no Action mapped for namespace [/] and action name [spropertyvalue] associated with context
- 用matlab生成同一元素的矩阵
- 爬虫抓取微博文章
- (完全背包)hdu 1114
- hadoop大数据平台手动搭建(八)HDFS High Availability Using the Quorum Journal Manager
- Browser.BookmarkColumns 类似引用报错
- message There is no Action mapped for namespace [/] and action name [user1_execute] associated with
- HDU1005Moving Tables
- 使用caffe微调VGG的一个例子
- BZOJ3958: [WF2011]Mummy Madness
- MYSQL
- git 删除多个文件
- MySQL
- 冒泡排序
- 使用Vue开发网站之路3-slot内容分发实现基础表单,衍生表单