{% comment %}start snippet id=description|javadoc=true|url=org.apache.struts2.result.VelocityResult {% endcomment %}
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.
{% comment %}start snippet id=params|javadoc=true|url=org.apache.struts2.result.VelocityResult {% endcomment %}
not be parsed for Ognl expressions.
This result follows the same rules from {@link StrutsResultSupport}.
{% comment %}start snippet id=example|lang=xml|javadoc=true|url=org.apache.struts2.result.VelocityResult {% endcomment %}
<result name="success" type="velocity"> <param name="location">foo.vm</param> </result>
{% comment %}end snippet id=example|lang=xml|javadoc=true|url=org.apache.struts2.result.VelocityResult {% endcomment %}