*In 2017, at the request of the company, responsible for research and development of intelligent analysis platform, using OLAP technology to analyze tax data from multiple dimensions, levels and cross-business domains, discover data characteristics, summarize tax laws, and support leadership decision-making. After nearly a year, it was finally ...
Added by xxxzom_biexxx on Wed, 08 Jul 2020 17:29:29 +0300
1.1. What is freemarker
FreeMarker is a template engine written in Java language, which generates text output based on templates. FreeMarker has nothing to do with the Web container, that is, it doesn't know about servlets or HTTP when the Web is running. It can not only be used as the implementation technology of presentation layer, but also b ...
Added by ryanyoungsma on Sun, 05 Apr 2020 17:23:09 +0300
Original link: http://www.yiidian.com/springboot/springboot-freemarker.html
This article explains how to integrate FreeMarker in Spring Boot.
1 create project, import dependency
<?xml version="1.0" encoding="UTF-8"?>
Added by Ceril on Tue, 24 Mar 2020 16:37:54 +0200
Status of CSRF vulnerabilities
CSRF (Cross Site Request Forgery) cross site request forgery, also known as One Click Attack or Session Riding, usually abbreviated as CSRF or XSRF, is a malicious use of the website. Although it sounds like cross site scripting (XSS), it is very different from XSS. XSS utilizes trusted users within the site, whil ...
Added by nac20 on Thu, 05 Dec 2019 06:47:28 +0200
This blog mainly solves the dynamic generation of word (docx format) in java background, and converts word into pdf and adds watermarking.
The requirement of the project is to export pdf with watermarking. The form style is still a bit complicated. It was considered that itextpdf was used to generate pdf based on html, but ...
Added by renj0806 on Fri, 19 Jul 2019 04:42:13 +0300
Traditional Relative Path Approach
1. freemarker acquisition system relative path mode
Configuration in spring-mvc.xml
<!-- FreeMarker View parsing such as return userinfo. . Configure the suffix name here ftl And view parser. -->
Added by mjr on Thu, 23 May 2019 23:39:05 +0300