Within the tymeleaf tag, expressions are used in js

Using expressions in text Of course, we can also assign values in tags. <p>Hello, [[${session.user.name}]]!</p> The effect is the same as the following: <p>Hello, <span th:text="${session.user.name}">Sebastian</span>!</p> [... ]]The content between can be assigned. For it to ...

Posted on Tue, 31 Mar 2020 01:03:29 -0400 by Katanius

Simple use of Spring Security

Community links: http://www.spring4all.com/article/428 There are some problems in Spring Security introduction series Spring Security dynamic permission modification. Here is the corrected code. pom.xml <?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- ...

Posted on Thu, 26 Mar 2020 10:59:09 -0400 by jimson

Product attribute management of tmall project

Suddenly I found that I was very naive and started to roll up the project without looking at the er chart. No wonder I was confused and added in the (0) article. I can read it at any time The product attributes here refer to products and attributes respectively in one to many way. It looks like this ...

Posted on Tue, 10 Mar 2020 23:58:23 -0400 by brokenshadows

Spring Boot develops small and beautiful personal blog

Spring Boot develops small and beautiful personal blog Author: Li Renmi Personal blog function: Technology portfolio: Backend: spring boot + JPA + thmeleaf template Database: MySQL Front end UI: Semantic UI framework Tools and environment: IDEA Maven 3 JDK 8 Axure RP 8 Course content module: D ...

Posted on Sun, 01 Mar 2020 03:47:14 -0500 by jwright

Spring Boot implementation add, delete, modify and query

This project does not use the service layer and database. 1. First use java to simulate the database First, there are two pojo classesDepartment.java package com.aiguigu.springboot3web.pojo; import lombok.AllArgsConstructor; import lombok.Data; import lombok.NoArgsConstructor; import java.util.Date; ...

Posted on Sat, 29 Feb 2020 23:12:20 -0500 by Yucky

Learn Spring Security Essays

Introduction Just after learning Spring Security, I integrated it with Springboot and found it wasn't as cumbersome as they said. Just configure a class and then inject it into the Aop container to cut in. It can be said that its root interceptor is a bit like but not as cumbersome It can be implement ...

Posted on Fri, 28 Feb 2020 21:34:03 -0500 by flappy_warbucks

Building and simple use of the environment for tymeleaf

Comparison between Thymeleaf and JSP Compared with JSP, the Thymeleaf template is native and does not rely on the tag library. It can be edited and rendered where the original HTML is received. Not coupled with servlet specification. There are some problems with JSP running on the embedded servlet con ...

Posted on Fri, 21 Feb 2020 11:02:12 -0500 by westminster86

Deep Source Analysis of SpringMVC Execution

This article mainly explains the SpringMVC execution process and parses the related source code. First, let's look at how Spring MVC handles user requests from the perspective of four components of Spring MVC: the Dispatcher Servlet, the Handler Mapping, the Handler Adapter, and the ViewResolver, as shown in the following figure: SpringMVC Exe ...

Posted on Thu, 20 Feb 2020 21:53:37 -0500 by phpforme

Spring boot integrates WEB Development -- custom error page

Purpose and principle: When handling exceptions, if we want to return different pages according to the actual situation, @ ControllerAdvice and @ ExceptionHandler are generally used to handle application level exceptions, and some container level errors cannot be handled, such as throwing exceptions in Filter. SpringBoot will have a default pag ...

Posted on Mon, 17 Feb 2020 03:51:47 -0500 by wisedj

Spring Boot series quickly use Spring Boot Admin to monitor your Spring Boot program

1. What is spring boot admin Spring Boot Admin is an open source project developed by codecentric. You can use Spring Boot Admin to manage and monitor your Spring Boot projects. It is divided into two parts: the client and the server. The client adds an HTTP interface that exposes relevant informati ...

Posted on Mon, 17 Feb 2020 00:01:11 -0500 by amandas