FreeMarker Overview

xiaoxiao2021-03-06  110

l FreeMarker is a template engine, a common tool based on template-generated text, writing with pure Java

l FreeMarker is designed to generate an HTML web page, especially based on MVC mode.

l Although FreeMarker has some programming capabilities, it is usually prepared by the Java program to display data, generated by the FreeMarker, and the data prepared by template (as shown below)

l FreeMarker is not a web application framework, which is suitable as a web application framework

l FreeMarker has nothing to do with the container because it doesn't know HTTP or Servlet; FreeMarker can also be applied to a non-web application environment.

l FreeMarker is more suitable as view components of the Model2 framework (such as struts), you can also use JSP tag libraries in templates

l FreeMarker is free

转载请注明原文地址:https://www.9cbs.com/read-101668.html

New Post(0)