Home > Guides > Core Developers Guide > Result Types > FreeMarker Result |
Renders a view using the Freemarker template engine. The FreemarkarManager
class configures the template loaders so that the template location can be either
/WEB-INF/views/home.ftl
/com/company/web/views/home.ftl
Also see Freemarker Support.
text/html
unless specified.false
by default, write to stream only if there isn't any error processing the template. Setting template_exception_handler=rethrow
in freemarker.properties
will have the same effect.<result name="success" type="freemarker">foo.ftl</result>