Campbell Ritchie wrote:What's freemarker? How are you adding it to your classpath?
Freemarker is a open source java templating engine. You could think of freemarker vs
jsp vs velocity. But it has uses beyond that, it could help you define file format. As in my case, instead of writing the code in java to write flat file, why not use freemarker template, the same template is portable.
The template used for above program is like this-
Result after running the program-
Check out from data model Hello World!