Win a copy of The Little Book of Impediments (e-book only) this week in the Agile and Other Processes forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

There is no Action mapped for namespace ... The issue is intermittent and it occurs like very rarely

 
vicky pandey
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello Friends,

I am new to Struts2, I have been facing an action mapping issue in my Application.
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.

Please advise.

Thanks & Regards
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic