After some time of research, freemarker really works better than jsp, and freemarker strictly divides the mvc pattern.Show on the page as a template filler.The following describes the use and configuration of freemarker that I experienced. Configuration tags are good for maintaining and expanding the project.
Create a freemarker configuratio ...
Posted by FrankHarley on Mon, 20 Jul 2020 08:38:52 -0700
Welcome to Read Spring Security Actual Dry Goods Series articles.Recently, a small development partner asked an interesting question.He is working on a project that involves two styles, one is to interface applets and use stateless JWT Token securely, the other is to manage the backend using Freemarker, the Session mechanism that do ...
Posted by mazen on Wed, 10 Jun 2020 19:21:26 -0700
SpringBoot integrates freemarker
1. Add dependency: springboot is basically seamless. Basically, you only need to add the corresponding dependency, without or with a small amount of configuration
Note: the creation of springboot project is not described here
Posted by dpearcepng on Thu, 14 May 2020 07:31:52 -0700
Official introduction: FreeMarker is a template engine: a general tool based on template and data to be changed, and used to generate output text (HTML web page, email, configuration file, source code, etc.). It is not for end users, but a Java class library, a component that programmers can embed in their products.
The final project contents ...
Using freemarker to save the ecrats picture to word
In a business in an existing field, it is often necessary to make statistics on a kind of data, generate echarts charts and export them with corresponding description materials:
Save eckarts locally
java reads pictures for base64 encoding
Making freemarker templates ...
Posted by Pixelsize on Thu, 02 Apr 2020 01:33:02 -0700
Introduction and use of freemarker
1, What is freemarker
2, How to use Freemarker
3, The syntax of freemarker template
3.1 access key in map
3.2 accessing properties in pojo
3.3 fetching the data in the set
3.4 date type format
3.5 processing of null value
3.6 import other template Include labels
Posted by corsc on Mon, 16 Mar 2020 00:29:56 -0700
1, Add maven dependency and import the jar package required by FreeMarker
2, Define word template file
3, Modify template xml file
Save the word fi ...
Understanding view templates
Model view controller (MVC) software design pattern is a method used to separate concerns in software applications. In principle, application logic or controller is separated from technology used to display information to users or view layers. This model is a communication tool between controller and view layers.
Posted by cdherold on Tue, 03 Dec 2019 15:56:18 -0800
Although it's slowly separating development in the popular front and back end, according to song Ge, there are still some companies that are developing front and back end indiscriminately. In the development of front and back end indiscriminately, we will need back-end page templates (in fact, even if the front and back end are separated, we wi ...
Posted by Danestar on Thu, 24 Oct 2019 00:55:25 -0700
E-mail service is one of the common services with many functions. It can send activities and marketing advertisements to users externally, and send system monitoring reports and alarms internally.
This article will introduce how spring boot integrates the mail service and give the configuration of different mail service providers.
Posted by jnewing on Fri, 18 Oct 2019 23:08:39 -0700