NameSilo

Tutorial: introduction to FreeMarker

Namecheap AuctionsNamecheap Auctions
Namecheap AuctionsNamecheap Auctions
SpaceshipSpaceship
Watch
FreeMarker is a Java template engine to generate pages from templates. This is to get a first taste of FreeMarker.

The first example starts with a template page containing:

${pet} does ${number} little hops :)

That produces a page with the text:

Bunny does 6 little hops :)

All the FreeMarker work is done in these 3 Java lines:

Code:
		Configuration cfg = new Configuration();
		Template tpl = cfg.getTemplate(template);
		tpl.process(datamodel, output);

http://bredelet.com/Denis/FreeMarker first steps.html
Hope that is useful to someone!
 
0
•••
The views expressed on this page by users and staff are their own, not those of NamePros.
GoDaddyGoDaddy
DomainEasy: flexible LTO options. Close more domain deals with financing.

We're social

Escrow.com
Spaceship
Escrowly
CryptoExchange.com
Domain Recover

NamePros updates

Parking: find your domains by pasting a list
You can now paste a list of domain names into the search box at the top of the Parking menu. Put one name on each line. Your domain list...
AIVikings
Catchy
  • The sidebar remains visible by scrolling at a speed relative to the page’s height.
Back