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. This result type takes the following parameters:
location (default) - the location of the template to process.
parse - true by default. If set to false, the location param will not be parsed for Ognl expressions.
This result follows the same rules from {@link StrutsResultSupport}.
Example:
<!-- START SNIPPET: example --> <result name="success" type="velocity"> <param name="location">foo.vm</param> </result> <!-- END SNIPPET: example -->
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.