Class RedirectResult

  • All Implemented Interfaces:
    com.opensymphony.xwork2.Result, com.opensymphony.xwork2.util.reflection.ReflectionExceptionHandler, Serializable, org.apache.struts2.result.Redirectable, org.apache.struts2.StrutsStatics
    Direct Known Subclasses:
    RedirectWithFlashResult

    public class RedirectResult
    extends org.apache.struts2.result.ServletRedirectResult
    A wrapper around xwork's ServletRedirectResult to patch up an issue revolving around IE6's incompetency and some servlet container's inability to parse request URLs with fragment ids ("#")

    See CONF-11835 for more information

    See Also:
    Serialized Form
    • Field Summary

      • Fields inherited from class org.apache.struts2.result.ServletRedirectResult

        actionMapper, anchor, prependServletContext, requestParameters, statusCode, suppressEmptyParameters
      • Fields inherited from class org.apache.struts2.result.StrutsResultSupport

        DEFAULT_PARAM, DEFAULT_URL_ENCODING, parseLocation
      • Fields inherited from interface org.apache.struts2.StrutsStatics

        ACTION_MAPPING, HTTP_REQUEST, HTTP_RESPONSE, PAGE_CONTEXT, SERVLET_CONTEXT, SERVLET_DISPATCHER, STRUTS_ACTION_TAG_INVOCATION, STRUTS_PORTLET_CONTEXT
    • Constructor Summary

      Constructors 
      Constructor Description
      RedirectResult()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      protected void doExecute​(String s, com.opensymphony.xwork2.ActionInvocation actionInvocation)  
      • Methods inherited from class org.apache.struts2.result.ServletRedirectResult

        addParameter, execute, getProhibitedResultParams, handle, isPathUrl, sendRedirect, setActionMapper, setAnchor, setPrependServletContext, setQueryStringBuilder, setStatusCode, setSuppressEmptyParameters
      • Methods inherited from class org.apache.struts2.result.StrutsResultSupport

        conditionalParse, conditionalParseCollection, getLastFinalLocation, getLocation, setEncode, setLocation, setParse
    • Constructor Detail

      • RedirectResult

        public RedirectResult()
    • Method Detail

      • doExecute

        protected void doExecute​(String s,
                                 com.opensymphony.xwork2.ActionInvocation actionInvocation)
                          throws Exception
        Overrides:
        doExecute in class org.apache.struts2.result.ServletRedirectResult
        Throws:
        Exception