Assert.notNull(actionContext);
Assert.notNull(actionName);
HttpServletRequest request = actionContext.getRequest();
RedirectHelper helper = (RedirectHelper) request.getAttribute(InfrastructureKeys.REDIRECT_HELPER);
Map<String, String> requestParameters = null;
if (helper != null)
{
requestParameters = helper.getRequestParameters();
request.getSession().setAttribute(InfrastructureKeys.REDIRECT_PARAMETERS, helper.getSessionParameters());
}
String url = getRedirectURL(actionName, requestParameters);
ActionForward actionForward = new ActionForward(url);