THIS IS A TEST INSTANCE. ALL YOUR CHANGES WILL BE LOST!!!!
...
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 | ||||||
---|---|---|---|---|---|---|
| ||||||
<action name="test" class="com.acme.TestAction"> <result name="success" type="velocity">test-success.vm</result> </action> |
...