FreeMarker is a template engine, a general tool for generating text output based on templates, written in pure Java
FreeMarker is designed to generate HTML Web pages, especially applications based on the MVC pattern
Although FreeMarker has some programming capabilities, the data to be displayed is usually prepared by the Java program, the page is generated by FreeMarker, and the prepared data is displayed through the template (as shown below)
FreeMarker is not a Web application framework, but is suitable as a component of the Web application framework
FreeMarker has nothing to do with containers, because it does not know HTTP or Servlet; FreeMarker can also be applied to non-Web application environments
For more articles related to Java template engine Freemarker, please pay attention to the PHP Chinese website!