The Velocity Template Engine lets you render data from within
applications and servlets. Primarily used to develop dynamic,
servlet-based Websites, Velocity's clean separation of template and
Java code makes it ideal for Model 2-style Model-View-Controller
(MVC) Web development. As a general template engine, Velocity suits
many other purposes, such as code generation, XML generation and
transformation, and textual stream processing. This article
introduces the Velocity Template Language (VTL) and provides
examples of how to use the Velocity engine, including how to
generate Web content in a Java servlet environment.