New to struts
Here is the error:
Jul 30 14:42:04 ERROR http-8080-Processor18 Dispatcher.serviceAction:512 - Could not find action or result No result defined for action com.domain.location.action.LocationAction and result input - action - file:/opt/apache-tomcat-5.5.20/webapps/location/WEB-INF/classes/struts.xml:1203:37
Here is my jsp:
<s:form id="locationForm"
name=" locationForm "
action="/location/locationEdit.action"
method="post"
theme="simple">
Here is the JSP Root:
<jsp:root xmlns:jsp="http://java.sun.com/JSP/Page"
xmlns:html="http://www.w3.org/1999/xhtml"
xmlns:s="/struts-tags"
xmlns:c="http://java.sun.com/jsp/jstl/core"
xmlns:fn="http://java.sun.com/jsp/jstl/functions"
version="2.0">
Here is struts.xml:
<action name="locationEdit" class="locationAction" method="locationEdit">
<result name="success">editLocation.jsp</result>
<result name="error">error.jsp</result>
</action>
Here is struts.xml from target folder:
<action name="locationEdit" class="locationAction" method="locationEdit">
<result name="success">editLocation.jsp</result>
<result name="error">error.jsp</result>
</action>
Here is the action:
public String locationEdit() {
String forward = SUCCESS;
/* Code Here */
return forward;
}
Any help on why this is happening and how to fix it would be great. Tried to Google it but rely nothing popped up.
--Phill