Tuesday, October 16, 2012

FreeMarker: a tool to generate text output based on templates

FreeMarker is a "template engine"; a generic tool to generate text output (anything from HTML to autogenerated source code) based on templates.

http://freemarker.sourceforge.net/


Spring Configuration

<bean id="freemarkerConfig"
class="org.springframework.web.servlet.view.freemarker.FreeMarkerConfigurer">
<property name="templateLoaderPath" value="/"/>
</bean>

No comments:

Post a Comment