public class ServletDispatcherResult extends StrutsResultSupport
include method is called.forward
is made.include
is called.<result name="success" type="dispatcher"> <param name="location">foo.jsp</param> </result>This result follows the same rules from
StrutsResultSupport.RequestDispatcher,
Serialized FormDEFAULT_PARAMHTTP_REQUEST, HTTP_RESPONSE, PAGE_CONTEXT, SERVLET_CONTEXT, SERVLET_DISPATCHER, STRUTS_ACTION_TAG_INVOCATION, STRUTS_PORTLET_CONTEXT| Constructor and Description |
|---|
ServletDispatcherResult() |
ServletDispatcherResult(String location) |
| Modifier and Type | Method and Description |
|---|---|
void |
doExecute(String finalLocation,
ActionInvocation invocation)
Dispatches to the given location.
|
void |
setUrlHelper(UrlHelper urlHelper) |
conditionalParse, execute, getLastFinalLocation, getLocation, setEncode, setLocation, setParsepublic ServletDispatcherResult()
public ServletDispatcherResult(String location)
public void setUrlHelper(UrlHelper urlHelper)
public void doExecute(String finalLocation, ActionInvocation invocation) throws Exception
doExecute in class StrutsResultSupportfinalLocation - the location to dispatch to.invocation - the execution state of the actionException - if an error occurs. If the dispatch fails the error will go back via the
HTTP request.Copyright © 2000-2013 Apache Software Foundation. All Rights Reserved.