Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Getting started with Velocity is as simple as ensuring all the dependencies are included in your project's classpath. Other than that, struts-default.xml already configures the Velocity Result.

Code Block
xml
xml
titlestruts.xml
<action name="test" class="com.acme.TestAction">
    <result name="success" type="velocity">test-success.vm</result>
</action>

...