Wiki Markup |
---|
{snippet:id=description|javadoc=true|url=org.apache.struts2.result.ServletDispatcherResult} |
Parameters
Wiki Markup |
---|
{snippet:id=params|javadoc=true|url=org.apache.struts2.result.ServletDispatcherResult} |
Examples
Wiki Markup |
---|
{snippet:id=example|lang=xml|javadoc=true|url=org.apache.struts2.result.ServletDispatcherResult} |
Dispatcher
Includes or forwards to a view (usually a jsp). Behind the scenes WebWork will use a RequestDispatcher, where the target servlet/JSP receives the same request/response objects as the original servlet/JSP. Therefore, you can pass data between them using request.setAttribute() – the WebWork action is available.
Parameters | Required | Description |
---|---|---|
location | yes | the location to go to after execution (ex. jsp) |
parse | no | true by default. If set to false, the location param will not be parsed for Ognl expressions |
...