Definition: Freemarker is a template engine written in the Java language that generates text output based on a template. Freemarker is not related to the Web container, that is, it does not know the servlet or HTTP while the Web is running. It can be used not only as an implementation technique for the presentation layer, but also for generating xml,jsp or Java.
Features: Universal, able to generate a variety of text, easy to embed, plug-in template loader; a powerful template language; a generic data type, Freemarker is not directly reflected to Java objects, Java objects are encapsulated in a template by a plug-in object, and the Web is prepared in a variable way. Can be integrated into the MODEL2 Web application framework as a substitute for JSP, support JSP Tag Library, design for MVC pattern, separate visual design and application logic, separate page designer and programmer, intelligent internationalization and localization (using Unicode internally), powerful XML processing power.
Freemarker Study (1)--freemarker Brief introduction