0 Replies Latest reply on Jul 6, 2013 2:41 PM by Akash Kesarwani

    Struts 2 Action mapping issue

    Akash Kesarwani Newbie

      Hi All,

       

      I am working on Struts2 application, I have been facing an action mapping issue.

      The error message reads

       

      Struts has detected an unhandled exception:

       

      Messages:

      There is no Action mapped for namespace / and action name "yourActionName".

      Stacktraces

       

      There is no Action mapped for namespace / and action name "yourActionName". - [unknown location]

          com.opensymphony.xwork2.DefaultActionProxy.prepare(DefaultActionProxy.java:178)

          org.apache.struts2.impl.StrutsActionProxy.prepare(StrutsActionProxy.java:61)

         ...

       

      The issue is intermittent and it occurs like very rarely. I have verified the action mapping in struts config file and also in JSP action seems to be correctly mapped. As far as I have understood, sometimes the action tries to map to wrong namespace.

      I have defined the namespaces in all the concerned JSP. Nothing seems to be wrong with the controller layer.

      Could this be and issue with the interceptors or Jar

       

      Please help me with this issue