Spring boot series integrated mail sending service and several ways of mail sending

Previous recommendation Spring boot series (I) idea new spring boot project Introduction to SpringBoot series (2) Spring boot series (3) configuration file details Spring boot series (IV) detailed explanation of web static resource configuration Spring boot series (V) Mybatis integrated full detailed version Spring boot series (6) integrated ty ...

Posted by jpbellavance on Sat, 09 May 2020 05:43:17 +0200

Note: build a simple file search system based on Springboot+Lucene

Different types of files are stored in the file storage system. The background extracts the file name and content through the program. Lucene is used to index the file name and content. The front end provides a query interface for the user. After the user submits the query keywords, the index library is retrieved and the matching documents are ...

Posted by txmedic03 on Sun, 19 Apr 2020 16:23:54 +0200

Spring Boot Integrates Thymeleaf View Layer

Catalog Spring Boot Integration ThymeleafProject steps for integrating Thymeleaf with Spring Boot Thymeleaf syntax details Spring Boot Integration Thymeleaf Spring Boot integrates Thymeleaf (the official view layer technology recommended by Spring Boot) Thymeleaf feature: Thymeleaf renders html tags through specific syntax. Project steps ...

Posted by Stephen68 on Tue, 07 Apr 2020 20:54:18 +0200

10 Minutes Send Mail Service

Sending e-mail should be one of the essential extensions to the website, such as registering for verification, forgetting your password, or sending marketing information to users. 1. Mail Agreement In the process of sending and receiving mail, related agreements need to be complied with, including: Protocol for sending e-mail: SMTP; Protocol f ...

Posted by NoDoze on Mon, 30 Mar 2020 04:57:42 +0200

springboot integrates thmeleaf template engine (a must for novices)

About what tymeleaf is: 1.Thymeleaf is a popular template engine, which is developed in Java language. In addition to thmeleaf, there are template engines such as Velocity and FreeMarker, with similar functions. 2.Thymeleaf can run in the environment with and without network, that is to say, it allows ...

Posted by kvnirvana on Fri, 06 Mar 2020 06:24:34 +0100

Getting started with SpringBoot 16, adding support for tymeleaf template

Project basic configuration reference article Getting started with SpringBoot 1. Create a new SpringBoot project with myEclipse , use myEclipse to create a new SpringBoot project. Now let's add a log4j2 support to the project. The way of adding is very simple. It only needs two steps. The specific content is as follows: 1. Add thmeleaf suppo ...

Posted by RosieisSweet on Sun, 01 Dec 2019 22:16:09 +0100

Spring boot integrates Shiro and simple implementation

Spring boot integrates Shiro and simple implementation Create a SpringBoot project Add dependency Configure Shiro (key) Configure login logic Configuration authorization Create a SpringBoot project Create a little Add dependency 1. Add thymeleaf <!-- thymeleaf Dependent dependence --> <dependency> <g ...

Posted by lizard on Tue, 26 Nov 2019 16:33:35 +0100

Spring boot (11) - exception handling and custom error page

1. Abnormal source To handle an exception that occurs in a program, you first need to know where the exception comes from? 1. The front-end wrong request path will cause 4xx errors in the program, the most common is 404. By default, when this error occurs in the spring boot request path, the pc response page is as follows If it is mobile termi ...

Posted by scott_ttocs46 on Tue, 26 Nov 2019 08:39:14 +0100

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