public class TilesResult extends ServletDispatcherResult
tiles.xml
either
to resources or WEB-INF. You may also use annotations like TilesDefinition
.
DEFAULT_PARAM, DEFAULT_URL_ENCODING, parseLocation
HTTP_REQUEST, HTTP_RESPONSE, PAGE_CONTEXT, SERVLET_CONTEXT, SERVLET_DISPATCHER, STRUTS_ACTION_TAG_INVOCATION, STRUTS_PORTLET_CONTEXT
Constructor and Description |
---|
TilesResult() |
TilesResult(String location) |
Modifier and Type | Method and Description |
---|---|
void |
doExecute(String location,
ActionInvocation invocation)
Dispatches to the given location.
|
getParameters, setUrlHelper
conditionalParse, conditionalParseCollection, execute, getLastFinalLocation, getLocation, setEncode, setLocation, setParse
public TilesResult()
public TilesResult(String location)
public void doExecute(String location, ActionInvocation invocation) throws Exception
doExecute
in class ServletDispatcherResult
location
- 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–2020 Apache Software Foundation. All rights reserved.