web front-end project integrates both JSP and FreeMaker_u_Multi-view Parser Configuration

*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

Getting started with FreeMarker

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

Spring Boot integrates static technology FreeMarker

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"?> <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" ...

Added by Ceril on Tue, 24 Mar 2020 16:37:54 +0200

Using spring security to deal with CSRF attacks

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

java implements word generation and pdf conversion

Preface This blog mainly solves the dynamic generation of word (docx format) in java background, and converts word into pdf and adds watermarking. Reflection 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

How to get absolute path basePath from freemarker page

Source: https://segmentfault.com/a/1190000002967105 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. --> <bean id="viewResolverFtl" class="org.springfr ...

Added by mjr on Thu, 23 May 2019 23:39:05 +0300