
FreeMarker Java Template Engine
Jun 22, 2025 · What is Apache FreeMarker ®? Apache FreeMarker ® is a template engine: a Java library to generate text output (HTML web pages, e-mails, configuration files, source code, etc.) …
Apache FreeMarker Manual
Logging Using FreeMarker with servlets Configuring security policy for FreeMarker Legacy XML wrapper implementation Using FreeMarker with Ant Jython wrapper Template Language Reference Built-in …
Download / Maven - Apache FreeMarker®
Jun 22, 2025 · Apache FreeMarker is a template engine: a Java library to generate text output (HTML web pages, e-mails, configuration files, source code, etc.) based on templates and changing data.
Template Language Reference - Apache FreeMarker Manual
Jun 22, 2025 · Built-in Reference Alphabetical index Built-ins for strings Built-ins for numbers Built-ins for date/time/date-time values Built-ins for booleans Built-ins for sequences Built-ins for hashes Built-ins …
Expressions - Apache FreeMarker Manual
While FreeMarker templates was never intended to be valid XML/HTML, only their output should be that, in reality there are some applications that expect the template itself to be valid XML/HTML …
The template at a glance - Apache FreeMarker Manual
Jun 22, 2025 · The simplest template is a plain HTML file (or whatever text file; FreeMarker is not confined to HTML). When the client visits that page, FreeMarker will send that HTML to the client as is.
Getting Started with template writing - Apache FreeMarker Manual
Jun 22, 2025 · This chapter is a very rough introduction to FreeMarker. The chapters after this will go over things in much greater detail. Nonetheless, once you have read this chapter, you will be able to …
Template + data-model = output - Apache FreeMarker Manual
Jun 22, 2025 · Keeping templates focused on presentation issues (visual design, layout and formatting) is a key for using template engines like FreeMarker efficiently. The totality of data that was prepared …
if, else, elseif - Apache FreeMarker Manual
Jun 22, 2025 · To see more about boolean expressions, see: Template Author's Guide/The Template/Expressions. You can nest if directives (of course):
Overview (FreeMarker 2.3.34 API)
Servlet for legacy "Model 2" frameworks that allows using FreeMarker templates instead of JSP as the MVC View (see in the Manual).