Spring boot series single, multi file upload correct posture
Spring boot series (9) minutes to upload files
Previous recommendationSpring 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 detaile ...
Posted by lukeurtnowski on Wed, 22 Apr 2020 08:06:16 -0700
Building elastic search 7.4.1 pseudo cluster with Docker
Cluster construction helps us to understand how the cluster works, so that we can better understand the high availability, replica fault tolerance mechanism and high performance of es.
Role assignment in es
Master node
Parameter: node.master: true
Because the real master node is elected by multiple nodes with master node qualification. Therefo ...
Posted by pea_1 on Wed, 22 Apr 2020 02:28:21 -0700
Spring Security OAuth format token output
Personalized token background
Last article Spring Security OAuth personalized token (I) It is mentioned that the default message format returned by oauth2.0 interface is as follows:
{
"access_token": "e6669cdf-b6cd-43fe-af5c-f91a65041382",
"token_type": "bearer",
"refresh_token": "da91294d-446c-4a89-bdcf-88aee15a75e8",
" ...
Posted by Mohammad on Tue, 21 Apr 2020 09:24:02 -0700
The Java ftp compressed file is packaged into zip and downloaded to the local user through the browser download function
1. Import jar dependency package:
ant-1.9.7.jar
commons-net-3.3.jar
Baidu online: https://pan.baidu.com/s/1u7m5NYans-UK_h8VSEPfbA
Extraction code: qy12
2. Create a tool class DownloadFileUtil.java and write the following code:
package com.zghky.utils;
import java.io.File;
import java.io.FileInputStream;
import java.io.FileOutputStrea ...
Posted by bdee1 on Tue, 21 Apr 2020 07:08:52 -0700
Spring Boot email and attachments, super practical!
Author: yizhiwazi
www.jianshu.com/p/5eb000544dd7
Spring Boot integrated e-mail service is so simple that it can quickly grasp the core logic of e-mail business class and the daily service of enterprise e-mail.
What is SMTP?
The full name of SMTP is Simple Mail Transfer Protocol, which is a set of specifications used to transfer mail from the ...
Posted by ThinkGeekness on Tue, 21 Apr 2020 02:58:08 -0700
Exception handling and parameter checking in SpringBoot
Hello, brothers, this time to exchange two questions with the old fellow, exception and parameter checking. Before we talk about parameter checking, let's first talk about exception handling, because the latter parameter checking involves exception handling.
exception handling
When it comes to exception handling, I don't know if you've written ...
Posted by liamjw on Mon, 20 Apr 2020 19:12:02 -0700
The installation and configuration of elastic search and the integrated application of spring boot
##Install elasticsearch on linux 1. Download elasticsearch
Go directly to the official website of elasticsearch and download the latest installation package: https://www.elastic.co/downloads/elasticsearch, this tutorial uses version 5.1.1. 2, Install elasticsearch
Upload the downloaded installation package to centos, or download it directly f ...
Posted by kkeim on Mon, 20 Apr 2020 05:56:06 -0700
[State Machine] Enterprise Available Level Development Guide for spring statemachine 5 - message to pass parameters
Category Column: spring statemachine Article Tag: spring boot spring Statemachine Java state machine Copyright Statement: This is an original blogger article, which follows the CC 4.0 BY-SA copyright agreement. Please attach a link to the original source and this statement for reproduction. Link to this article: https://blog.csdn.net/firebat/ar ...
Posted by a2bardeals on Sun, 19 Apr 2020 19:08:25 -0700
Solve the js problem of losing precision for Long type
json is often used in projects, such as fastjson, Jackson, and so on. Sometimes for uniformity, we usually agree to use one.
Either way, when Spring MVC returns data of the previous Long type, js loses precision in obtaining the data, which results in inaccurate data. The solution is to convert Long type data to String type when serializing.
Wh ...
Posted by arun4444 on Sun, 19 Apr 2020 09:12:48 -0700
Microservice Framework-Spring Cloud
Getting Started with Spring Cloud
Micro-Services and Micro-Service Architecture
Micro-service architecture is a new system architecture.Its design idea is to split the single architecture system into several independent running applets which can be called and cooperated with each other.The capabilities that each applet provides to the overal ...
Posted by EPJS on Sat, 18 Apr 2020 21:58:01 -0700