...
Getting started with FreeMarker is as simple as ensuring all the dependencies are included in your project's classpath. Typically, the only dependency is the {{freemarker.jar}. Other than that, struts-default.xml already configures the FreeMarker Result needed to process your application's templates.
...
In addition, you can specify a location (directory on your file system) through the templatePath}
or {{TemplatePath
context variable (in the {{web.xml)}. If a variable is specified, the content of the directory it points to will be searched first.
...