Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment:


Added note about the templatePath context variable.

...

In addition, you can specify a location (directory on your file system) thru templatePath through the 'templatePath' or 'TemplatePath' context variable (in your web.xml). If variable is specified, the content of the directory it points to will be searched first.

Note

This variable is currently NOT relative to the root of your webapp. We suggest placing the templates under WEB-INF anyway

Variable Resolution

In FreeMarker, variables are looked up in several different places, in this order:

...