Hi,
I am using struts-2.2.3 . I have two jsps and one action.
1) login.jsp
<s:form id="loginForm" name="loginForm" action="/General/LoginManagementAction" method="post">
</s:form>
2) success.jsp
3) com.test.general.action.LoginManagementAction.java (Action class)
4) struts.xml
<
struts>
<package name="General" extends="struts-default" namespace="/General">
<action name="LoginManagementAction" class="com.test.general.action.LoginManagementAction">
<result name="success">/pages/test/success.jsp</result>
</action>
</package>
</struts>
5) web.xml
<filter>
<filter-name>struts2</filter-name>
<filter-class>org.apache.struts2.dispatcher.FilterDispatcher</filter-class>
</filter>
<filter-mapping>
<filter-name>struts2</filter-name>
<url-pattern>/*</url-pattern>
</filter-mapping>
<welcome-file-list>
<welcome-file>/pages/general/login.jsp</welcome-file>
</welcome-file-list>
Now I am getting following warning
Jun 15, 2011 9:37:21 AM com.opensymphony.xwork2.util.logging.commons.CommonsLogger warn
WARNING: No configuration found for the specified action: '/General/LoginManagementAction' in namespace: '//pages/general'. Form action defaulting to 'action' attribute's literal value.
Jun 15, 2011 9:37:21 AM com.opensymphony.xwork2.util.logging.commons.CommonsLogger warn
WARNING: No configuration found for the specified action: '/General/LoginManagementAction' in namespace: '//pages/general'. Form action defaulting to 'action' attribute's literal value.