net.sf.jabb.stdr.dispatcher
Class TemplateDispatcherResult
java.lang.Object
org.apache.struts2.dispatcher.StrutsResultSupport
org.apache.struts2.dispatcher.ServletDispatcherResult
net.sf.jabb.stdr.dispatcher.TemplateDispatcherResult
- All Implemented Interfaces:
- com.opensymphony.xwork2.Result, Serializable, org.apache.struts2.StrutsStatics
public class TemplateDispatcherResult
- extends org.apache.struts2.dispatcher.ServletDispatcherResult
The dispatcher to replace the default dispatcher of Struts2.
It is compatible with the default one since it is a subclass
of ServletDispatcherResult.
Example:
<result name="success" type="dispatcher">
<param name="location">foo.jsp</param>
</result>
- Author:
- James (Zhengmao HU)
- See Also:
- Serialized Form
| Fields inherited from class org.apache.struts2.dispatcher.StrutsResultSupport |
DEFAULT_PARAM |
| Fields inherited from interface org.apache.struts2.StrutsStatics |
HTTP_REQUEST, HTTP_RESPONSE, PAGE_CONTEXT, SERVLET_CONTEXT, SERVLET_DISPATCHER, STRUTS_ACTION_TAG_INVOCATION, STRUTS_PORTLET_CONTEXT |
|
Method Summary |
void |
doExecute(String finalLocation,
com.opensymphony.xwork2.ActionInvocation invocation)
|
| Methods inherited from class org.apache.struts2.dispatcher.ServletDispatcherResult |
setUrlHelper |
| Methods inherited from class org.apache.struts2.dispatcher.StrutsResultSupport |
conditionalParse, execute, getLastFinalLocation, getLocation, setEncode, setLocation, setParse |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
predefinedResultParam
protected List<String> predefinedResultParam
- These parameter names are pre-defined, they are not defined by user.
They are: location, namespace, encode, parse.
TEMPLATE_PARAMETER_MAP
public static final String TEMPLATE_PARAMETER_MAP
- The attribute name in request context to pass the parameters: net_sf_jabb_stdr_templateParameterMap
- See Also:
- Constant Field Values
TemplateDispatcherResult
public TemplateDispatcherResult()
TemplateDispatcherResult
public TemplateDispatcherResult(String location)
doExecute
public void doExecute(String finalLocation,
com.opensymphony.xwork2.ActionInvocation invocation)
throws Exception
- Overrides:
doExecute in class org.apache.struts2.dispatcher.ServletDispatcherResult
- Throws:
Exception
Copyright © 2012. All Rights Reserved.