There is no Action mapped for namespace /enp and action name jobInfo

问题描述

ThereisnoActionmappedfornamespace/enpandactionnamejobInfo.-[unknownlocation]com.opensymphony.xwork2.DefaultActionProxy.prepare(DefaultActionProxy.java:177)org.apache.struts2.impl.StrutsActionProxy.prepare(StrutsActionProxy.java:61)org.apache.struts2.impl.StrutsActionProxyFactory.createActionProxy(StrutsActionProxyFactory.java:39)com.opensymphony.xwork2.DefaultActionProxyFactory.createActionProxy(DefaultActionProxyFactory.java:47)org.apache.struts2.dispatcher.Dispatcher.serviceAction(Dispatcher.java:458)org.apache.struts2.dispatcher.FilterDispatcher.doFilter(FilterDispatcher.java:395)org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)org.apache.struts2.dispatcher.ActionContextCleanUp.doFilter(ActionContextCleanUp.java:102)org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)org.springframework.orm.hibernate3.support.OpenSessionInViewFilter.doFilterInternal(OpenSessionInViewFilter.java:198)org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:76)org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:293)org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:849)org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583)org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:454)java.lang.Thread.run(UnknownSource)Youareseeingthispagebecausedevelopmentmodeisenabled.Developmentmode,ordevMode,enablesextradebuggingbehaviorsandreportstoassistdevelopers.Todisablethismode,set:struts.devMode=falseinyourWEB-INF/classes/struts.propertiesfile.这是什么内容,谁能给个解决方法,

解决方案

解决方案二:
/enp/jobInfo.action不存在,解决办法是找到正确的请求路径
解决方案三:
你看看你在xml文件配置的action和你在java当中是不是一样的,意思就是说你的请求路径找不到,
解决方案四:
引用1楼MrsFeng的回复:

/enp/jobInfo.action不存在,解决办法是找到正确的请求路径

找到了吧,
解决方案五:
引用2楼daijianweinihao的回复:

你看看你在xml文件配置的action和你在java当中是不是一样的,意思就是说你的请求路径找不到,

现在这个路径找到了,就是几个拦截器的问题,
解决方案六:
路劲的问题。

时间: 2024-08-11 12:07:22

There is no Action mapped for namespace /enp and action name jobInfo的相关文章

tomcat-There is no Action mapped for namespace

问题描述 There is no Action mapped for namespace 404错误There is no Action mapped for namespace / and action name studentRegisterAction. 这是我的struts.xml 解决方案 处理方法:检查struts.xml是否在src目录下: struts.xml文件是否编写正确 .----- 首先查看你的 struts.xml? 文件是否在 src 目录下: ? 2.----- 检

action-There is no Action mapped for namespace /

问题描述 There is no Action mapped for namespace / There is no Action mapped for namespace / and action name 查了半天查不出来 一般这个错误都是404 我的事500 我写了.xml文件 也写了method方法,返回的页面也写了,但是就是报这个错误,求指导 解决方案 http://www.cnblogs.com/gulvzhe/archive/2011/11/21/2256632.html 解决方案

There is no Action mapped for namespace / and action name Forum 好纠结的错误!

问题描述 没事写个发帖的bbs,结果一连串的错误,纠结加郁闷啊:求指点...我贴出我的一部分代码:JSP代码:<form action="Forum!insert.action" method="post" >ForumAction代码:public class ForumAction extends ActionSupport{private static final long serialVersionUID = -15127306585956009

There is no Action mapped for namespace / and action name courseact 报这个错,求大神解

问题描述 在百度上搜了下原因,好像都不是.别的功能都能实现,就这个不行.在下学生党,求大神解struts配置文件如下:<?xmlversion="1.0"encoding="UTF-8"?><!DOCTYPEstrutsPUBLIC"-//ApacheSoftwareFoundation//DTDStrutsConfiguration2.1//EN""http://struts.apache.org/dtds/stru

tomcat上面项目运行正常,weblogic下面出现•There is no Action mapped for namespace [/] and acti

问题描述 StrutsProblemReportStrutshasdetectedanunhandledexception:Messages:•ThereisnoActionmappedfornamespace[/]andactionname[adminAction]associatedwithcontextpath[/lscms].StacktracesThereisnoActionmappedfornamespace[/]andactionname[adminAction]associate

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

问题描述 HTTPStatus404-ThereisnoActionmappedfornamespace/andactionname为什么呀actionpackagecn.itcast.mybatis.action;importjava.util.List;importjava.util.UUID;importjavax.servlet.http.HttpServletRequest;importorg.apache.struts2.ServletActionContext;importcn.i

struts2之There is no Action mapped for namespace / and action name

问题描述 以前也配过很多次struts2,觉得没什么问题,可是昨天改了改tomcat的设置,现在再怎么弄都配不好了,连个helloworld都不成功了.觉得很奇怪.贴出来给哪位大牛帮我看看吧分不多,先谢谢啊.我真是郁闷到了.错误信息是:ThereisnoActionmappedforactionnamelogin.-[unknownlocation]com.opensymphony.xwork2.DefaultActionProxy.prepare(DefaultActionProxy.java

java ssh-no action mapped问题 tomcat运行报错

问题描述 no action mapped问题 tomcat运行报错 运行tomcat时没报错 我打了http://localhost:8080/xxpt/index.action后是404未找到 错误如下 09-29 10:07:52 WARN o.a.struts2.dispatcher.Dispatcher - Could not find action or result com.opensymphony.xwork2.config.ConfigurationException: The

struts action跳转-不同namespace下的action之间如何跳转(使用注解,配置文件会)?

问题描述 不同namespace下的action之间如何跳转(使用注解,配置文件会)? 比如我要从@Action(value="user/login",results={@Result(name = "firstpage", location = ? ,type="redirectAction")跳转到@Action(value="/front/homepage/query") user/login 里面的loction该如何