Thymeleaf Common Grammar: Operator of Expressional Grammar

The constants of Thymeleaf expression grammar are divided into string constants, number constants, Boolean constants and null constants.Operators are divided into arithmetic operators, relational operators, conditional operators and no operators. Development environment: IntelliJ IDEA 2019.2.2Spring Boot version: 2.1.8 Create a new Spring Boo ...

Posted on Mon, 14 Oct 2019 11:39:34 -0700 by TalonFinsky

Use of Thymeleaf objects: string objects

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

Posted on Sun, 13 Oct 2019 04:45:47 -0700 by msandersen

Spring-boot integrates mybatis + spring MVC

Spring-boot integrates mybatis + spring MVC Let me give you an example of adding data to the background. 1. New maven project, import dependencies <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/ ...

Posted on Mon, 07 Oct 2019 15:24:24 -0700 by 44justin

editormd generates blog editing pages

<!DOCTYPE html> <html lang="en" xmlns:th="http://www.thymeleaf.org" xmlns:sec="http://www.thymeleaf.org/thymeleaf-extras-springsecurity4"> <head> <meta charset="UTF-8"> <title>write an article</title> <link rel="stylesheet" href="https://amaze ...

Posted on Sun, 06 Oct 2019 18:15:52 -0700 by dlf

A'small test'on data length in mysql

When I tested insert method today, I found some mistakes: Looks like my sql is okay: ==> Preparing: INSERT INTO user(user_id,username,password,age,gender,phone,QQ,email,portrait,authority,status,integral) VALUE(?,?,?,?,?,?,?,?,?,?,?,?) ==> Parameters: 359522221443518464 (Long), Coconut Milk S ...

Posted on Sun, 06 Oct 2019 03:41:24 -0700 by njwan

Spring Boot + Jpa + Thymeleaf Comprehensive Practice

In the previous course, we learned Spring Boot Web development, JPA database operation, Thymeleaf and page interaction technology. This course integrates these contents to make a user management function, including displaying user list (paging), adding users, modifying users and deleting users. Some people say that programmers are adding, dele ...

Posted on Thu, 19 Sep 2019 06:51:22 -0700 by Panz3r

springboot static page, dynamic page and WebMvc Configurer usage analysis

1. Absolute path writing is unreasonable. Relative path should be considered? 2. In SpringBook project, static files in the _static_directory are accessed by default. If you customize how to handle them, how to analyze the principle? The directory structure is as follows:Static pages( Static Page and Dy ...

Posted on Wed, 18 Sep 2019 23:09:54 -0700 by GarroteYou

[SpringBoot - Web development (using Thymeleaf template engine)]

[Text can only describe fragment information, specific details reference code] https://github.com/HCJ-shadow/SpringBootPlus Introducing POM dependencies <properties> <java.version>1.8</java.version> <thymeleaf.version>3.0.11.RELEASE</thymeleaf.version> <thymeleaf-layout-dialect.version& ...

Posted on Mon, 16 Sep 2019 02:42:04 -0700 by Kurt

SpringBoot 2.0 Base Case (03): Configure system global exception mapping handling

1. Classification of Exceptions From the point of view of handling exceptions by the system, there are two main categories of exceptions: business exceptions and system exceptions. 1. Business Exceptions Business exceptions are mainly some predictability exceptions. Handle business exceptions to prompt users for operation and improve the opera ...

Posted on Fri, 09 Aug 2019 11:18:33 -0700 by wilburforce

springboot(10): Mail service

springboot is still developing at a high speed. It hasn't been noticed for more than five months. Official website It has reached 1.5.3.RELEASE version. Ready to slowly write springboot related articles, this article uses the latest version of springboot 1.5.3 for development. Sending e-mail should be one of the essential functions of the web ...

Posted on Wed, 03 Jul 2019 12:53:07 -0700 by Byron