org.rhq.enterprise.gui.legacy.action
Class BaseAction

java.lang.Object
  extended by org.apache.struts.action.Action
      extended by org.rhq.enterprise.gui.legacy.action.BaseAction
Direct Known Subclasses:
AckAlertAction, AddGroupResourcesAction, AddLdapGroupsAction, AddNotificationsAction, AddPortletAction, AddResourceGroupsAction, AddResourcesAction, AddUserRolesAction, AddUsersAction, AdminHomePortalAction, AllIndicatorsAction, BaseRSSAction, ChangeOwnerAction, ConfigMetricsAction, DetermineLocationAction, EditAction, EditAction, EditConfigAction, EditDefinitionConditionsAction, EditDefinitionControlActionAction, EditDefinitionPropertiesAction, EditGeneralAction, EditMetricBaselineAction, EditMetricBaselineFormPrepareAction, EditPasswordAction, EventDetailsAction, GroupHubPortalAction, MetricDisplayRangeAction, MetricsControlAction, ModifyAction, ModifyAction, ModifyAction, ModifyAction, ModifyAction, ModifyAction, ModifyAction, ModifyAction, MoveDownAction, MoveUpAction, NewAction, NewAction, NewDefinitionAction, NewGroupAction, PrepareAction, PrepareAction, PrepareAction, PrepareAction, ProcessQueueAction, ProcessRAList, QuickEnableDefaultMetricsAction, QuickFavoritesAction, ReenableAlertDefinitionAction, RegisterAction, RemoveAction, RemoveAction, RemoveAction, RemoveAction, RemoveGroupAction, RemoveLdapGroupsAction, RemoveNotificationsAction, RemovePortletAction, RemoveResourceAction, RemoveResourceGroupsAction, RemoveRolesAction, RemoveUsersAction, ResourceHubPortalAction, WorkflowAction

public class BaseAction
extends org.apache.struts.action.Action

An Action subclass that provides convenience methods for recognizing form submission types (cancel, reset, ok, etc) and deciding where to return after the action has completed.


Field Summary
static boolean NO_RETURN_PATH
           
static boolean YES_RETURN_PATH
           
 
Fields inherited from class org.apache.struts.action.Action
defaultLocale, servlet
 
Constructor Summary
BaseAction()
           
 
Method Summary
 org.apache.struts.action.ActionForward checkSubmit(javax.servlet.http.HttpServletRequest request, org.apache.struts.action.ActionMapping mapping, org.apache.struts.action.ActionForm form)
           
 org.apache.struts.action.ActionForward checkSubmit(javax.servlet.http.HttpServletRequest request, org.apache.struts.action.ActionMapping mapping, org.apache.struts.action.ActionForm form, boolean doReturnPath)
           
 org.apache.struts.action.ActionForward checkSubmit(javax.servlet.http.HttpServletRequest request, org.apache.struts.action.ActionMapping mapping, org.apache.struts.action.ActionForm form, Map params)
           
 org.apache.struts.action.ActionForward checkSubmit(javax.servlet.http.HttpServletRequest request, org.apache.struts.action.ActionMapping mapping, org.apache.struts.action.ActionForm form, Map params, boolean doReturnPath)
          Return an ActionForward if the form has been cancelled or reset; otherwise return null so that the subclass can continue to execute.
 org.apache.struts.action.ActionForward checkSubmit(javax.servlet.http.HttpServletRequest request, org.apache.struts.action.ActionMapping mapping, org.apache.struts.action.ActionForm form, String param, Object value)
           
 org.apache.struts.action.ActionForward checkSubmit(javax.servlet.http.HttpServletRequest request, org.apache.struts.action.ActionMapping mapping, org.apache.struts.action.ActionForm form, String param, Object value, boolean doReturnPath)
           
protected  org.apache.struts.action.ActionForward constructForward(javax.servlet.http.HttpServletRequest request, org.apache.struts.action.ActionMapping mapping, String forwardName)
           
protected  org.apache.struts.action.ActionForward constructForward(javax.servlet.http.HttpServletRequest request, org.apache.struts.action.ActionMapping mapping, String forwardName, boolean doReturnPath)
           
protected  org.apache.struts.action.ActionForward constructForward(javax.servlet.http.HttpServletRequest request, org.apache.struts.action.ActionMapping mapping, String forwardName, Map params, boolean doReturnPath)
          Return an ActionForward corresponding to the given form gesture or action state.
protected  org.apache.struts.action.ActionForward constructForward(javax.servlet.http.HttpServletRequest request, org.apache.struts.action.ActionMapping mapping, String forwardName, String param, Object value, boolean doReturnPath)
           
 org.apache.struts.action.ActionForward execute(org.apache.struts.action.ActionMapping mapping, org.apache.struts.action.ActionForm form, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
          Dosen't do a damn thing.
 org.apache.struts.action.ActionForward returnAdd(javax.servlet.http.HttpServletRequest request, org.apache.struts.action.ActionMapping mapping)
           
 org.apache.struts.action.ActionForward returnAdd(javax.servlet.http.HttpServletRequest request, org.apache.struts.action.ActionMapping mapping, Map params)
          Return an ActionForward representing the add form gesture, setting the return path to the current URL.
 org.apache.struts.action.ActionForward returnAdd(javax.servlet.http.HttpServletRequest request, org.apache.struts.action.ActionMapping mapping, String param, Object value)
           
 org.apache.struts.action.ActionForward returnCancelled(javax.servlet.http.HttpServletRequest request, org.apache.struts.action.ActionMapping mapping)
           
 org.apache.struts.action.ActionForward returnCancelled(javax.servlet.http.HttpServletRequest request, org.apache.struts.action.ActionMapping mapping, Map params)
           
 org.apache.struts.action.ActionForward returnCancelled(javax.servlet.http.HttpServletRequest request, org.apache.struts.action.ActionMapping mapping, Map params, boolean doReturnPath)
          Return an ActionForward representing the cancel form gesture.
 org.apache.struts.action.ActionForward returnCancelled(javax.servlet.http.HttpServletRequest request, org.apache.struts.action.ActionMapping mapping, String param, Object value)
           
 org.apache.struts.action.ActionForward returnFailure(javax.servlet.http.HttpServletRequest request, org.apache.struts.action.ActionMapping mapping)
           
 org.apache.struts.action.ActionForward returnFailure(javax.servlet.http.HttpServletRequest request, org.apache.struts.action.ActionMapping mapping, boolean doReturnPath)
           
 org.apache.struts.action.ActionForward returnFailure(javax.servlet.http.HttpServletRequest request, org.apache.struts.action.ActionMapping mapping, Map params)
           
 org.apache.struts.action.ActionForward returnFailure(javax.servlet.http.HttpServletRequest request, org.apache.struts.action.ActionMapping mapping, Map params, boolean doReturnPath)
          Return an ActionForward representing the failure action state.
 org.apache.struts.action.ActionForward returnFailure(javax.servlet.http.HttpServletRequest request, org.apache.struts.action.ActionMapping mapping, String param, Object value)
           
 org.apache.struts.action.ActionForward returnInstall(javax.servlet.http.HttpServletRequest request, org.apache.struts.action.ActionMapping mapping)
           
 org.apache.struts.action.ActionForward returnInstall(javax.servlet.http.HttpServletRequest request, org.apache.struts.action.ActionMapping mapping, Map params)
          Return an ActionForward representing the install form gesture, setting the return path to the current URL.
 org.apache.struts.action.ActionForward returnInstall(javax.servlet.http.HttpServletRequest request, org.apache.struts.action.ActionMapping mapping, String param, Object value)
           
 org.apache.struts.action.ActionForward returnManualUninstall(javax.servlet.http.HttpServletRequest request, org.apache.struts.action.ActionMapping mapping)
           
 org.apache.struts.action.ActionForward returnManualUninstall(javax.servlet.http.HttpServletRequest request, org.apache.struts.action.ActionMapping mapping, Map params)
          Return an ActionForward representing the install form gesture, setting the return path to the current URL.
 org.apache.struts.action.ActionForward returnManualUninstall(javax.servlet.http.HttpServletRequest request, org.apache.struts.action.ActionMapping mapping, String param, Object value)
           
 org.apache.struts.action.ActionForward returnNew(javax.servlet.http.HttpServletRequest request, org.apache.struts.action.ActionMapping mapping)
           
 org.apache.struts.action.ActionForward returnNew(javax.servlet.http.HttpServletRequest request, org.apache.struts.action.ActionMapping mapping, Map params)
          Return an ActionForward representing the new form gesture, setting the return path to the current URL.
 org.apache.struts.action.ActionForward returnNew(javax.servlet.http.HttpServletRequest request, org.apache.struts.action.ActionMapping mapping, Map params, boolean doReturnPath)
          Return an ActionForward representing the success action state.
 org.apache.struts.action.ActionForward returnNew(javax.servlet.http.HttpServletRequest request, org.apache.struts.action.ActionMapping mapping, String param, Object value)
           
 org.apache.struts.action.ActionForward returnNew(javax.servlet.http.HttpServletRequest request, org.apache.struts.action.ActionMapping mapping, String param, Object value, boolean doReturnPath)
           
 org.apache.struts.action.ActionForward returnOkAssign(javax.servlet.http.HttpServletRequest request, org.apache.struts.action.ActionMapping mapping, Map params)
          Return an ActionForward representing the okassign action state.
 org.apache.struts.action.ActionForward returnOkAssign(javax.servlet.http.HttpServletRequest request, org.apache.struts.action.ActionMapping mapping, Map params, boolean doReturnPath)
          Return an ActionForward representing the okassign action state.
 org.apache.struts.action.ActionForward returnRemove(javax.servlet.http.HttpServletRequest request, org.apache.struts.action.ActionMapping mapping)
           
 org.apache.struts.action.ActionForward returnRemove(javax.servlet.http.HttpServletRequest request, org.apache.struts.action.ActionMapping mapping, Map params)
          Return an ActionForward representing the remove form gesture, setting the return path to the current URL.
 org.apache.struts.action.ActionForward returnRemove(javax.servlet.http.HttpServletRequest request, org.apache.struts.action.ActionMapping mapping, String param, Object value)
           
 org.apache.struts.action.ActionForward returnReset(javax.servlet.http.HttpServletRequest request, org.apache.struts.action.ActionMapping mapping)
           
 org.apache.struts.action.ActionForward returnReset(javax.servlet.http.HttpServletRequest request, org.apache.struts.action.ActionMapping mapping, Map params)
           
 org.apache.struts.action.ActionForward returnReset(javax.servlet.http.HttpServletRequest request, org.apache.struts.action.ActionMapping mapping, Map params, boolean doReturnPath)
          Return an ActionForward representing the reset form gesture.
 org.apache.struts.action.ActionForward returnReset(javax.servlet.http.HttpServletRequest request, org.apache.struts.action.ActionMapping mapping, String param, Object value)
           
 org.apache.struts.action.ActionForward returnSuccess(javax.servlet.http.HttpServletRequest request, org.apache.struts.action.ActionMapping mapping)
           
 org.apache.struts.action.ActionForward returnSuccess(javax.servlet.http.HttpServletRequest request, org.apache.struts.action.ActionMapping mapping, Map params)
           
 org.apache.struts.action.ActionForward returnSuccess(javax.servlet.http.HttpServletRequest request, org.apache.struts.action.ActionMapping mapping, Map params, boolean doReturnPath)
          Return an ActionForward representing the success action state.
 org.apache.struts.action.ActionForward returnSuccess(javax.servlet.http.HttpServletRequest request, org.apache.struts.action.ActionMapping mapping, String param, Object value)
           
 org.apache.struts.action.ActionForward returnSuccess(javax.servlet.http.HttpServletRequest request, org.apache.struts.action.ActionMapping mapping, String param, Object value, boolean doReturnPath)
           
 
Methods inherited from class org.apache.struts.action.Action
addErrors, addMessages, execute, generateToken, getDataSource, getDataSource, getErrors, getLocale, getMessages, getResources, getResources, getServlet, isCancelled, isTokenValid, isTokenValid, resetToken, saveErrors, saveErrors, saveErrors, saveMessages, saveMessages, saveToken, setLocale, setServlet
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

YES_RETURN_PATH

public static final boolean YES_RETURN_PATH
See Also:
Constant Field Values

NO_RETURN_PATH

public static final boolean NO_RETURN_PATH
See Also:
Constant Field Values
Constructor Detail

BaseAction

public BaseAction()
Method Detail

execute

public org.apache.struts.action.ActionForward execute(org.apache.struts.action.ActionMapping mapping,
                                                      org.apache.struts.action.ActionForm form,
                                                      javax.servlet.http.HttpServletRequest request,
                                                      javax.servlet.http.HttpServletResponse response)
                                               throws Exception
Dosen't do a damn thing. its here as a dummy method used by list that don't submit a form.

Overrides:
execute in class org.apache.struts.action.Action
Throws:
Exception

checkSubmit

public org.apache.struts.action.ActionForward checkSubmit(javax.servlet.http.HttpServletRequest request,
                                                          org.apache.struts.action.ActionMapping mapping,
                                                          org.apache.struts.action.ActionForm form,
                                                          Map params,
                                                          boolean doReturnPath)
                                                   throws Exception
Return an ActionForward if the form has been cancelled or reset; otherwise return null so that the subclass can continue to execute.

Throws:
Exception

checkSubmit

public org.apache.struts.action.ActionForward checkSubmit(javax.servlet.http.HttpServletRequest request,
                                                          org.apache.struts.action.ActionMapping mapping,
                                                          org.apache.struts.action.ActionForm form,
                                                          Map params)
                                                   throws Exception
Throws:
Exception

checkSubmit

public org.apache.struts.action.ActionForward checkSubmit(javax.servlet.http.HttpServletRequest request,
                                                          org.apache.struts.action.ActionMapping mapping,
                                                          org.apache.struts.action.ActionForm form,
                                                          boolean doReturnPath)
                                                   throws Exception
Throws:
Exception

checkSubmit

public org.apache.struts.action.ActionForward checkSubmit(javax.servlet.http.HttpServletRequest request,
                                                          org.apache.struts.action.ActionMapping mapping,
                                                          org.apache.struts.action.ActionForm form)
                                                   throws Exception
Throws:
Exception

checkSubmit

public org.apache.struts.action.ActionForward checkSubmit(javax.servlet.http.HttpServletRequest request,
                                                          org.apache.struts.action.ActionMapping mapping,
                                                          org.apache.struts.action.ActionForm form,
                                                          String param,
                                                          Object value,
                                                          boolean doReturnPath)
                                                   throws Exception
Throws:
Exception

checkSubmit

public org.apache.struts.action.ActionForward checkSubmit(javax.servlet.http.HttpServletRequest request,
                                                          org.apache.struts.action.ActionMapping mapping,
                                                          org.apache.struts.action.ActionForm form,
                                                          String param,
                                                          Object value)
                                                   throws Exception
Throws:
Exception

returnAdd

public org.apache.struts.action.ActionForward returnAdd(javax.servlet.http.HttpServletRequest request,
                                                        org.apache.struts.action.ActionMapping mapping,
                                                        Map params)
                                                 throws Exception
Return an ActionForward representing the add form gesture, setting the return path to the current URL.

Throws:
Exception

returnAdd

public org.apache.struts.action.ActionForward returnAdd(javax.servlet.http.HttpServletRequest request,
                                                        org.apache.struts.action.ActionMapping mapping)
                                                 throws Exception
Throws:
Exception

returnAdd

public org.apache.struts.action.ActionForward returnAdd(javax.servlet.http.HttpServletRequest request,
                                                        org.apache.struts.action.ActionMapping mapping,
                                                        String param,
                                                        Object value)
                                                 throws Exception
Throws:
Exception

returnCancelled

public org.apache.struts.action.ActionForward returnCancelled(javax.servlet.http.HttpServletRequest request,
                                                              org.apache.struts.action.ActionMapping mapping,
                                                              Map params,
                                                              boolean doReturnPath)
                                                       throws Exception
Return an ActionForward representing the cancel form gesture.

Throws:
Exception

returnCancelled

public org.apache.struts.action.ActionForward returnCancelled(javax.servlet.http.HttpServletRequest request,
                                                              org.apache.struts.action.ActionMapping mapping,
                                                              Map params)
                                                       throws Exception
Throws:
Exception

returnCancelled

public org.apache.struts.action.ActionForward returnCancelled(javax.servlet.http.HttpServletRequest request,
                                                              org.apache.struts.action.ActionMapping mapping)
                                                       throws Exception
Throws:
Exception

returnCancelled

public org.apache.struts.action.ActionForward returnCancelled(javax.servlet.http.HttpServletRequest request,
                                                              org.apache.struts.action.ActionMapping mapping,
                                                              String param,
                                                              Object value)
                                                       throws Exception
Throws:
Exception

returnFailure

public org.apache.struts.action.ActionForward returnFailure(javax.servlet.http.HttpServletRequest request,
                                                            org.apache.struts.action.ActionMapping mapping,
                                                            Map params,
                                                            boolean doReturnPath)
                                                     throws Exception
Return an ActionForward representing the failure action state.

Throws:
Exception

returnFailure

public org.apache.struts.action.ActionForward returnFailure(javax.servlet.http.HttpServletRequest request,
                                                            org.apache.struts.action.ActionMapping mapping,
                                                            Map params)
                                                     throws Exception
Throws:
Exception

returnFailure

public org.apache.struts.action.ActionForward returnFailure(javax.servlet.http.HttpServletRequest request,
                                                            org.apache.struts.action.ActionMapping mapping,
                                                            boolean doReturnPath)
                                                     throws Exception
Throws:
Exception

returnFailure

public org.apache.struts.action.ActionForward returnFailure(javax.servlet.http.HttpServletRequest request,
                                                            org.apache.struts.action.ActionMapping mapping)
                                                     throws Exception
Throws:
Exception

returnFailure

public org.apache.struts.action.ActionForward returnFailure(javax.servlet.http.HttpServletRequest request,
                                                            org.apache.struts.action.ActionMapping mapping,
                                                            String param,
                                                            Object value)
                                                     throws Exception
Throws:
Exception

returnNew

public org.apache.struts.action.ActionForward returnNew(javax.servlet.http.HttpServletRequest request,
                                                        org.apache.struts.action.ActionMapping mapping,
                                                        Map params)
                                                 throws Exception
Return an ActionForward representing the new form gesture, setting the return path to the current URL.

Throws:
Exception

returnNew

public org.apache.struts.action.ActionForward returnNew(javax.servlet.http.HttpServletRequest request,
                                                        org.apache.struts.action.ActionMapping mapping)
                                                 throws Exception
Throws:
Exception

returnNew

public org.apache.struts.action.ActionForward returnNew(javax.servlet.http.HttpServletRequest request,
                                                        org.apache.struts.action.ActionMapping mapping,
                                                        String param,
                                                        Object value)
                                                 throws Exception
Throws:
Exception

returnNew

public org.apache.struts.action.ActionForward returnNew(javax.servlet.http.HttpServletRequest request,
                                                        org.apache.struts.action.ActionMapping mapping,
                                                        Map params,
                                                        boolean doReturnPath)
                                                 throws Exception
Return an ActionForward representing the success action state.

Throws:
Exception

returnNew

public org.apache.struts.action.ActionForward returnNew(javax.servlet.http.HttpServletRequest request,
                                                        org.apache.struts.action.ActionMapping mapping,
                                                        String param,
                                                        Object value,
                                                        boolean doReturnPath)
                                                 throws Exception
Throws:
Exception

returnRemove

public org.apache.struts.action.ActionForward returnRemove(javax.servlet.http.HttpServletRequest request,
                                                           org.apache.struts.action.ActionMapping mapping,
                                                           Map params)
                                                    throws Exception
Return an ActionForward representing the remove form gesture, setting the return path to the current URL.

Throws:
Exception

returnRemove

public org.apache.struts.action.ActionForward returnRemove(javax.servlet.http.HttpServletRequest request,
                                                           org.apache.struts.action.ActionMapping mapping)
                                                    throws Exception
Throws:
Exception

returnRemove

public org.apache.struts.action.ActionForward returnRemove(javax.servlet.http.HttpServletRequest request,
                                                           org.apache.struts.action.ActionMapping mapping,
                                                           String param,
                                                           Object value)
                                                    throws Exception
Throws:
Exception

returnInstall

public org.apache.struts.action.ActionForward returnInstall(javax.servlet.http.HttpServletRequest request,
                                                            org.apache.struts.action.ActionMapping mapping,
                                                            Map params)
                                                     throws Exception
Return an ActionForward representing the install form gesture, setting the return path to the current URL.

Throws:
Exception

returnInstall

public org.apache.struts.action.ActionForward returnInstall(javax.servlet.http.HttpServletRequest request,
                                                            org.apache.struts.action.ActionMapping mapping)
                                                     throws Exception
Throws:
Exception

returnInstall

public org.apache.struts.action.ActionForward returnInstall(javax.servlet.http.HttpServletRequest request,
                                                            org.apache.struts.action.ActionMapping mapping,
                                                            String param,
                                                            Object value)
                                                     throws Exception
Throws:
Exception

returnManualUninstall

public org.apache.struts.action.ActionForward returnManualUninstall(javax.servlet.http.HttpServletRequest request,
                                                                    org.apache.struts.action.ActionMapping mapping,
                                                                    Map params)
                                                             throws Exception
Return an ActionForward representing the install form gesture, setting the return path to the current URL.

Throws:
Exception

returnManualUninstall

public org.apache.struts.action.ActionForward returnManualUninstall(javax.servlet.http.HttpServletRequest request,
                                                                    org.apache.struts.action.ActionMapping mapping)
                                                             throws Exception
Throws:
Exception

returnManualUninstall

public org.apache.struts.action.ActionForward returnManualUninstall(javax.servlet.http.HttpServletRequest request,
                                                                    org.apache.struts.action.ActionMapping mapping,
                                                                    String param,
                                                                    Object value)
                                                             throws Exception
Throws:
Exception

returnReset

public org.apache.struts.action.ActionForward returnReset(javax.servlet.http.HttpServletRequest request,
                                                          org.apache.struts.action.ActionMapping mapping,
                                                          Map params,
                                                          boolean doReturnPath)
                                                   throws Exception
Return an ActionForward representing the reset form gesture.

Throws:
Exception

returnReset

public org.apache.struts.action.ActionForward returnReset(javax.servlet.http.HttpServletRequest request,
                                                          org.apache.struts.action.ActionMapping mapping,
                                                          Map params)
                                                   throws Exception
Throws:
Exception

returnReset

public org.apache.struts.action.ActionForward returnReset(javax.servlet.http.HttpServletRequest request,
                                                          org.apache.struts.action.ActionMapping mapping)
                                                   throws Exception
Throws:
Exception

returnReset

public org.apache.struts.action.ActionForward returnReset(javax.servlet.http.HttpServletRequest request,
                                                          org.apache.struts.action.ActionMapping mapping,
                                                          String param,
                                                          Object value)
                                                   throws Exception
Throws:
Exception

returnOkAssign

public org.apache.struts.action.ActionForward returnOkAssign(javax.servlet.http.HttpServletRequest request,
                                                             org.apache.struts.action.ActionMapping mapping,
                                                             Map params)
                                                      throws Exception
Return an ActionForward representing the okassign action state.

Throws:
Exception

returnOkAssign

public org.apache.struts.action.ActionForward returnOkAssign(javax.servlet.http.HttpServletRequest request,
                                                             org.apache.struts.action.ActionMapping mapping,
                                                             Map params,
                                                             boolean doReturnPath)
                                                      throws Exception
Return an ActionForward representing the okassign action state.

Throws:
Exception

returnSuccess

public org.apache.struts.action.ActionForward returnSuccess(javax.servlet.http.HttpServletRequest request,
                                                            org.apache.struts.action.ActionMapping mapping,
                                                            Map params,
                                                            boolean doReturnPath)
                                                     throws Exception
Return an ActionForward representing the success action state.

Throws:
Exception

returnSuccess

public org.apache.struts.action.ActionForward returnSuccess(javax.servlet.http.HttpServletRequest request,
                                                            org.apache.struts.action.ActionMapping mapping,
                                                            Map params)
                                                     throws Exception
Throws:
Exception

returnSuccess

public org.apache.struts.action.ActionForward returnSuccess(javax.servlet.http.HttpServletRequest request,
                                                            org.apache.struts.action.ActionMapping mapping)
                                                     throws Exception
Throws:
Exception

returnSuccess

public org.apache.struts.action.ActionForward returnSuccess(javax.servlet.http.HttpServletRequest request,
                                                            org.apache.struts.action.ActionMapping mapping,
                                                            String param,
                                                            Object value,
                                                            boolean doReturnPath)
                                                     throws Exception
Throws:
Exception

returnSuccess

public org.apache.struts.action.ActionForward returnSuccess(javax.servlet.http.HttpServletRequest request,
                                                            org.apache.struts.action.ActionMapping mapping,
                                                            String param,
                                                            Object value)
                                                     throws Exception
Throws:
Exception

constructForward

protected org.apache.struts.action.ActionForward constructForward(javax.servlet.http.HttpServletRequest request,
                                                                  org.apache.struts.action.ActionMapping mapping,
                                                                  String forwardName,
                                                                  Map params,
                                                                  boolean doReturnPath)
                                                           throws Exception
Return an ActionForward corresponding to the given form gesture or action state. Utilize the session return path if it is set. Optionally set a request parameter to the path.

Throws:
Exception

constructForward

protected org.apache.struts.action.ActionForward constructForward(javax.servlet.http.HttpServletRequest request,
                                                                  org.apache.struts.action.ActionMapping mapping,
                                                                  String forwardName,
                                                                  String param,
                                                                  Object value,
                                                                  boolean doReturnPath)
                                                           throws Exception
Throws:
Exception

constructForward

protected org.apache.struts.action.ActionForward constructForward(javax.servlet.http.HttpServletRequest request,
                                                                  org.apache.struts.action.ActionMapping mapping,
                                                                  String forwardName,
                                                                  boolean doReturnPath)
                                                           throws Exception
Throws:
Exception

constructForward

protected org.apache.struts.action.ActionForward constructForward(javax.servlet.http.HttpServletRequest request,
                                                                  org.apache.struts.action.ActionMapping mapping,
                                                                  String forwardName)
                                                           throws Exception
Throws:
Exception


Copyright © 2008-2012 Red Hat, Inc.. All Rights Reserved.