freemarker tag usage and configuration
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
Spring Security dry goods: how to implement different security policies for different interfaces
1. Preface
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
Spring boot basic combat series integration view
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
<dependency>
<groupId>org.springframework.boot</groupId>
& ...
Posted by dpearcepng on Thu, 14 May 2020 07:31:52 -0700
The integration of spring MVC and freemarker
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 ...
Posted by pyc on Thu, 02 Apr 2020 14:34:11 -0700
Using freemarker to save the ecrats picture to word
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
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
Use FreeMarker to export word documents (support to export pictures)
1, Add maven dependency and import the jar package required by FreeMarker
1 <dependency>
2 <groupId>org.freemarker</groupId>
3 <artifactId>freemarker</artifactId>
4 <version>2.3.20</version>
5 </dependency>
2, Define word template file
3, Modify template xml file
Save the word fi ...
Posted by Scip on Fri, 31 Jan 2020 00:45:55 -0800
Spring guide (learn about view templates)
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.
Wi ...
Posted by cdherold on Tue, 03 Dec 2019 15:56:18 -0800
Spring Boot 2 series of tutorials Spring Boot integrates Thymeleaf
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
[Springboot] Springboot integrated email service (HTML / attachment / template QQ, Netease)
introduce
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.
As ...
Posted by jnewing on Fri, 18 Oct 2019 23:08:39 -0700