Struts 2 : Warning :No configuration found for the specified action: 'Login.action' in namespace: '/'
No configuration found for the specified action: 'Login.action' in namespace: '/'''. Form action defaulting to 'action' attribute's literal value. Solution: To remove this warning you need to change following... See your struts.xml file what name you have specified... If you are using namespace / and your action name is 'Login' then replace Login.action to Login as given below... <s:form action=" Login.action " method="post" > Use below with namespace 1) <s:form action=" Login " method="post" namespace="/"> Or 2) <s:form action=" /Login " method="post" > Now you will not get this warning.
Comments
Post a Comment