posted 17 years ago
In Complete Reference P85-86 :
<action-mappings>
<action path="/updateUser"
type="com.jamesholmes.example.UpdateUserAction">
<forward name="success" path="/updateSuccess.jsp"/>
</action>
</action-mappings>
public ActionForward execute(ActionMapping mapping,
ActionForm form,
HttpServletRequest request,
HttpServletResponse response)
throws Exception
{
// Perform action processing.
return new ActionForward("updateSuccess");
}
Doesn't
return new ActionForward("updateSuccess");
should be
return new ActionForward("success");
??