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.
So i am able to launch initial index.jsp, but when I try to submit on index.jsp I get following exception :
There is no Action mapped for namespace [/] and action name [login] associated with context path [/StrutsAndHibernate]. - [unknown location]
I know its something associated with namespace mapping because if I keep index.jsp and welcome.jsp directly in WebContent folder and make changes accordingly in welcome-file-list then it works.
Suggestion please use Code tag while posting code
and as far the your problem it can be because of many reasons such as
1. You are missing some necessary .jar file inside you lib folder
2. You have conflicting jar files inside your lib folder such as struts2-core-2.1.6 and struts2-core-188.8.131.52 in this case only 1 out of 2 should exist
3. your struts.devMode is turned OFF by default which you can turn ON by using this line inside your struts.xml
4. and probably your web.xml is configured wrong it should contain
instead of org.apache.struts2.dispatcher.ng.filter.StrutsPrepareAndExecuteFilter