Fork me on GitHub
<< back to Core Developers Guide Edit on GitHub

Velocity Result

Using the Servlet container’s {@link JspFactory}, this result mocks a JSP execution environment and then displays a Velocity template that will be streamed directly to the servlet output.

Parameters

This result follows the same rules from {@link StrutsResultSupport}.

Examples

<result name="success" type="velocity">

    <param name="location">foo.vm</param>

</result>