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.
Iam getting WARNING:" No configuration found for the specified action: 'loginAction' in namespace: '/login'. Form action defaulting to 'action' attribute's literal value." when my login page opens which is the first page when application starts. I have tried various values for namespace in struts-login.xml and in login. jsp but of no use. Can anybody please help?? Here are my files::--
Iam making a small application just for learning struts2 and i have not done logging yet.
I have checked with config-browser plugin but dont know why it is not showing my namespaces.
Harvinder Singh g
Joined: Dec 05, 2009
Thanks a lot , it worked after placing struts.xml, struts-login.xml, struts-secure.xml under WEB-INF/classes.
Initially they were in WEB-INF. I had also tried keeping them under src folder but of no use.
Only after placing them under WEB-INF/classes it worked .