Skip to main content

Posts

Showing posts with the label FreeMarker

FreeMarker : Example

Freemarker is a simple templating engine that can generate text contents from any type of template. It is so simple that you can learn it in a single day and can use it in any project. It helps you when you need to produce bulk text contents of the common format like newsletters, green mail, notifications etc. package  fm; import  java.io. File ; import  java.io. IOException ; import  java.io. OutputStreamWriter ; import  java.io. Writer ; import  java.util. ArrayList ; import  java.util. HashMap ; import  java.util. Map ; import  com.sun.tools.javac.util. List ; import  freemarker.template. Configuration ; import  freemarker.template.Default...