O'Reilly logo

Instant FreeMarker Starter by Charles Forsythe

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Top 9 features you need to know about

In this section, we're mostly going to apply FreeMarker to a real-world task in order to see what it can do and how to use its features effectively. We will build an expanded version of the HelloFreemarker application that produces a plain-text e-mail. Why would we do this instead of creating web pages?

First of all, FreeMarker does not really "create web pages," it creates text. That text can certainly be the content of a web page, but it can also be the content of an e-mail. The goal of this section is to explore how FreeMarker converts our model data into the text we want, so it makes more sense to look directly at that text rather than looking at the way a web browser interprets that text. Rest assured ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required