Wiki Markup |
---|
{snippet:id=description|javadoc=true|url=com.opensymphony.webwork.dispatcher.VelocityResult} |
Parameters
Wiki Markup |
---|
{snippet:id=params|javadoc=true|url=com.opensymphony.webwork.dispatcher.VelocityResult} |
Examples
Wiki Markup |
---|
{snippet:id=example|lang=xml|javadoc=true|url=com.opensymphony.webwork.dispatcher.VelocityResult} |
Velocity
This result mocks a JSP execution environment and then displays a Velocity template that will be streamed directly to the servlet output.
Parameters | Required | Description |
---|---|---|
location | yes | the location to go to after execution |
parse | no | true by default. If set to false, the location param will not be parsed for Ognl expressions |
Code Block | ||
---|---|---|
xml | xml |
<result name="success" type="velocity">
<param name="location">foo.vm</param>
</result>
|