There is no Action mapped for namespace ... The issue is intermittent and it occurs like very rarely
posted 3 years ago
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
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.
Thanks & Regards
What are you doing? You are supposed to be reading this tiny ad!
the new thread boost feature brings a LOT of attention to your favorite threads