About using java+springboot+jfreeChart to make line graph

For reference: https://blog.csdn.net/qq263229365/article/details/9089975 I refer to the author's, maybe because I want to do it with springboot + thmmeleaf, so some codes are different, so I wrote this text, hoping to be useful to you. Step 1: Guide Package In springboot, you only need to add the < ...

Posted by flash_78 on Mon, 28 Oct 2019 15:52:12 +0100

Tymeleaf common syntax: template fragment

Many pages in the system have a lot of public content, such as menus, footers, etc., which can be extracted and placed in a public page called "template fragment", and other pages can refer to this. Template snippet content. I. definition of template fragment It can be an html tag or a fragment can be defined using the th:fragment a ...

Posted by flexxall on Sat, 19 Oct 2019 22:46:14 +0200

Use of Thymeleaf objects: digital objects

Thymeleaf mainly uses the org.thymeleaf.expression.Numbers class to process numbers, and the #numbers object to process numbers in templates. Development environment: IntelliJ IDEA 2019.2.2Spring Boot version: 2.1.8 Create a new Spring Book project named demo.pom.xml adds Thymeleaf dependencies: <dependency> < ...

Posted by usawh on Sat, 12 Oct 2019 23:27:49 +0200

Spring-boot hot deployment + spring loader plug-in or devtools tools

Spring-boot hot deploymentWay 1 Spring loader plug-in: 1. Adding Dependency on pom.xml to New maven Project <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven- ...

Posted by kid85 on Tue, 08 Oct 2019 15:59:09 +0200

spring security introductory tutorial custom login page

I wrote some yesterday. Basic operation of spring security Today, let's share how to customize your own login page. Project preparation Based on yesterday's project, the pom dependency remains unchanged, with spring boot version 2.1.7.RELEASE <d ...

Posted by cafrow on Thu, 12 Sep 2019 04:49:32 +0200

Spring Boot+Spring Security+Thymeleaf Simple Tutorial

Because there is a project that needs MVC framework, so I learned Spring Security and recorded it. I hope you can learn and give advice together. GitHub address: https://github.com/Smith-Cruise/Spring-Boot-Security-Thymeleaf-Demo If you have any questions, please post the issue in GitHub. I will an ...

Posted by rmbarnes82 on Thu, 01 Aug 2019 04:22:03 +0200

Analysis of Exception Error Handling Mechanism in Springboot Series Spring Boot web Development

Preface I'm sure you'll often encounter this page when you first start experiencing Springboot, which is the default return page to a page that doesn't exist. Spring Boot Default Error Page If it is a request from another client, such as an interface test tool, the JSON data is returned by default. { "timestamp":"20 ...

Posted by JsF on Sat, 18 May 2019 06:24:11 +0200

Spring Boot Membership Management System-Processing File Upload

Reminder Spring Boot membership management system needs to involve Spring framework, Spring MVC framework, Hibernate framework, thymeleaf template engine. So, you can learn these knowledge. Of course, it's okay to use it directly, but it may be difficult to use it when it comes to some exceptions and principles. 1. Front end part In the front ...

Posted by ldd76 on Thu, 16 May 2019 14:00:11 +0200

Java Mail Sender of SpringBoot 2.X Kotlin Series Sends Emails

In many services, I often need to use the function of sending email. Fortunately, SpringBoot can use the framework spring-boot-starter-mail quickly. As long as we introduce the framework, we can complete the function of sending email quickly. Introducing mailJar <dependency> <groupId>org.springframework.boot</groupId> ...

Posted by bocasz on Thu, 09 May 2019 20:50:02 +0200