I had a sample HelloWorld Example of Struts 2 from web.
Its struts.xml contains:
<struts>
<package name="default" extends="struts-default">
<action name="HelloWorld">
<result>/success.jsp</result>
</action>
</package>
</struts>
On running application, I get a warning stating that:
No configuration found for the specified action: 'HelloWorld' in namespace: ''. Form action defaulting to 'action' attribute's literal value.
So, on clicking of submit button in index.jsp page, I get Http 404 error(requested resource is not avaiable) error.