FreeMarker

From Wikipedia, the free encyclopedia

FreeMarker is a Java-based template engine.

FreeMarker supports servlet-based applications following the MVC software architecture.

[edit] Hello World

The following template:

<#-- FreeMarker Hello World -->
<html>
<body>
<#assign foo = "FreeMarker" />
Hello ${foo} World!
</body>
</html>

processed by FreeMarker will produce the following text:

<html>
<body>
Hello FreeMarker World!
</body>
</html>

[edit] See also

[edit] External links