SSH + Oracle 整合问题之六 There is no Action mapped for namespace / and action name open.
来源:互联网 发布:淘宝怎么打造单品爆款 编辑:程序博客网 时间:2024/06/06 15:03
There is no Action mapped for namespace / and action name open.
The requested resource (There is no Action mapped for namespace / and action name open.) is not available.
错误信息及描述如上,翻译成中文的意思是你所指定的Action在Struts页面里面找不到,找不到的原因就是不存在以这个"/"为名的命名空间。说起来拗口,其实就是找不到这个Action ,说明Action配置出错,或者写错了。
我们到JSP页面察看代码
<td width="100px">
<a href="<%=cd.getAct()%>" target="<%=cd.getTar()%>"><%=cd.getText()%></a></td>
<%
action是在数据库里面直接取出来的。
再看数据库的内容:
findHPLX.action 这就是cd.getAct()的值
察看Struts
<action name="findHPLX" class="HPLXAction">
<result name="success">YWGL/JHDB.jsp</result>
<result name="error">Error.jsp</result>
</action>
再看下本xml文件是否有nameSpace属性配置,发现没有,那么本action的名字应该改为findHPLX.action
如果有nameapace属性配置。例如namespace="/struts/kh" 那么正确的action名称应该是/struts/kh/findHPLX.action
- SSH + Oracle 整合问题之六 There is no Action mapped for namespace / and action name open.
- There is no Action mapped for namespace / and action name .
- There is no Action mapped for namespace / and action name
- There is no Action mapped for namespace / and action name
- There is no Action mapped for namespace / and action name
- There is no Action mapped for namespace [/] and action name
- There is no Action mapped for namespace / and action name .
- There is no Action mapped for namespace / and action name
- There is no Action mapped for namespace / and action name
- There is no Action mapped for namespace [/] and action name
- SSH整合DWR时报HTTP Status 404 - There is no Action mapped for namespace / and action name dwr.
- ssh整合DWR的时候报 HTTP Status 404 - There is no Action mapped for namespace / and action name bookInfo.
- There is no Action mapped for namespace / and action name ..问题分析
- There is no Action mapped for namespace / and action name ..问题分析
- There is no Action mapped for namespace / and action name 问题的解决办法
- There is no Action mapped for namespace / and action name ..问题分析
- 问题There is no Action mapped for namespace / and action name
- There is no Action mapped for namespace / and action name . - [unknown location]问题
- 关于android中一种简单的分享方式
- 在64位win7上安装Python3.3.2及Numpy及matplotlib
- android中左右滑屏的实现(广告位banner组件)
- 多表联合查询(join、union等)
- C#基础知识整理:C#类和结构(1)
- SSH + Oracle 整合问题之六 There is no Action mapped for namespace / and action name open.
- 4.跟我学solr---SolrRequestHandler详解
- io流--上
- Insert Literal Text into the Replacement Text (将字面文本插入到替换文本中)
- phpcms自定义分页样式
- 在Andriod AVD中卸载应用程序
- 追踪CPU跑满
- 怎样让性格越变越好?
- iOS开发好不好学?