FreeMarker is a template engine written in Java that can be used with Struts. In fact, the Struts tag library uses FreeMarker as the default template language. FreeMarker supports more features than Velocity. For detailed comparison between FreeMarker and Velocity, read this:
This chapter provides a brief tutorial on how to use FreeMarker in Struts.
To use FreeMarker in Struts, you don’t need to install additional software. The JAR file that contains the FreeMarker engine, the freemarker-VERSION.jar file, is already included in Struts deployment. In fact, without this file your Struts application won’t work because FreeMarker is the default template for the ...