This week's book giveaway is in the OO, Patterns, UML and Refactoring forum. We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line! See this thread for details.
There is no Action mapped for action name helloworld. - [unknown location] at com.opensymphony.xwork2.DefaultActionProxy.prepare(DefaultActionProxy.java:186) at org.apache.struts2.impl.StrutsActionProxyFactory.createActionProxy(StrutsActionProxyFactory.java:41) at org.apache.struts2.dispatcher.Dispatcher.serviceAction(Dispatcher.java:497) at org.apache.struts2.dispatcher.FilterDispatcher.doFilter(FilterDispatcher.java:421) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:186)
>And I am returning the string "SUCCESS" from action class.
Not sure if you meant the constant SUCCESS from com.opensymphony.xwork2.Action which actually is the string "success". So if you are returning the actual string it should be "success".
Joined: Feb 20, 2007
That is correct Vijay, I am returning the hard coded String "SUCCESS"
The problem is that the code is not reaching the action class at all