You are viewing an old version of this page. View the current version.

Compare with Current View Page History

Version 1 Current »

A template, in Velocity, is a text file that tells Velocity what the output should look like. It contains a document page style, layout, header, footer, and static text just like any other template that comes with most of the Word Processor programs. However, a Velocity template also contains specific placeholders for Java objects and Velocity Template Language scripts which will tell the Velocity Engine what and how to print the information in the output.