Velocity is easy to use! A quick way to get started is to skim the references below, then look at the examples and source provided in the distribution. For developers writing web-based applications, the Web Application Guide is highly recommended!
- User's Guide - explains how to write Velocity templates
- Developer's Guide - expains how to user Velocity inside Java programs
- VTL Reference - concise syntax for Velocity Template Language (VTL)
- Web Application Guide - web-based application techniques and VelocityViewServlet tutorial
The best place to start is with the examples provided in the distribution, and with the source code itself, which is included.
If you want to download the latest source, you can do so using git, see the downloads page.
Instructions for building Velocity from source can be found in the Site Building document.
Our API documentation is available online, you can generate it yourself from the included source code using the
mvn javadoc:aggregate command.