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::--
Are there any messages on startup? Is logging turned up to debug level? Have you checked what Struts 2 thinks your configuration is using the config-browser plugin?
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.
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 .
After some pecan pie, you might want to cleanse your palatte with this tiny ad: