[SpringMVC starts from 0] SpringMVC RESTFul actual case -- implementation of modification function
1, Echo function
Before the actual modification, you need to have an echo function, that is, you can see the data after clicking the edit page.
1. Modify operation hyperlink
The request address here is the same as the deleted address. You need to bring the id because you want to echo the data of this id.
<td>
<a @click="del ...
Added by rubberjohn on Tue, 21 Dec 2021 09:37:29 +0200
Generics of Java advanced features
What is generics
As a literal meaning, a generalized type means that a specific type cannot be determined during encoding. A placeholder (uppercase, English is recommended) needs to be used first. When running, a specific type is passed in to replace this generic tag
Why do I need generics
Pseudo demand
Suppose we need a list to store Strin ...
Added by -Karl- on Mon, 20 Dec 2021 10:42:45 +0200
Hutool tools are not confused
Foreword
This is the third day of my participation in the revision challenge in November. See the activity details: the last revision challenge in 2021. Are you still encapsulating tool classes and tool methods in the project? Let Hutool help you. It is a friendly alternative to the util package in the project, covering all aspects of ...
Added by Jimmy79 on Mon, 20 Dec 2021 09:38:50 +0200
Atcoder beginer contest 215 problem solution (A-F)
AtCoder Beginner Contest 215 Problem solving (A-F)
A. Your First Judge
Main idea of the title:
Determine whether the string is equal to
"
H
e
l
l
o
,
...
Added by sycoj0ker on Mon, 20 Dec 2021 07:11:42 +0200
Interviewer: rm delete the file space to free it?
In Linux, have you ever naively thought that if you delete a file with rm, the occupied space will be released? Things may not always be what you want.
Generates a random content file of a specified size
Let's take a look at the current space size of each mounted Directory:
$ df -h
/dev/sda11 454M 280M 147M 66% /boot
I selected ...
Added by wing_zero on Sun, 19 Dec 2021 19:57:48 +0200
Easy to understand, an article takes you to know Kafka
This article is transferred from: Le byteThe article mainly explains: KafkaFor more Java related information, you can pay attention to the official account number: 999Asynchronous communication principleObserver modeObserver mode, also known as Publish/Subscribe modeDefine a one to many dependency between objects, so that whenever an object cha ...
Added by Jurik on Thu, 09 Dec 2021 03:03:20 +0200
Go language learning checking and patching Day3
Author: Regan YueSource: Hang Seng LIGHT cloud communityGo language learning checking and patching Day3Zero. PrefaceBecause I have a weak foundation, I often encounter a lot of confused problems when using Go language, so I am determined to check and fill in the gaps in Go language. This [Go language checking and filling in] series is mainly to ...
Added by horsleyaa on Tue, 07 Dec 2021 14:52:14 +0200
Spring Boot + Redis implements interface idempotency. It's great to read this article
introduce
The concept of idempotency is that the impact of any multiple executions is the same as that of one execution. According to this meaning, the final explanation is that the impact on the database can only be one-time and cannot be processed repeatedly. The means are as follows
Create a unique index of the databasetoken mechanismPessi ...
Added by mits on Mon, 06 Dec 2021 22:31:13 +0200
How to implement spring MVC interceptor / spring MVC interceptor of SSM? What is the function of interceptors?
Write before: Record your spring MVC learning journey. If you don't understand it, it is recommended to read it first Previous blogs , detailed codes can be found in My Gitee warehouse SSM learning Clone download learn to use!
2.5 spring MVC interceptor
2.5.1 function of spring MVC interceptor
Interceptor is similar to the Filter in Servlet, ...
Added by sader on Fri, 03 Dec 2021 22:25:19 +0200
Finally understand why Spring Boot is so popular with HikariCP. This picture is too thorough
preface
Now many companies are using HikariCP. HikariCP has also become the default connection pool of SpringBoot. With SpringBoot and microservices, HikariCP will be widely popularized.
Next, Chen will take you to analyze why HikariCP can be invited by Spring Boot from the perspective of source code. The article directory is as follows:
...
Added by mwilson2 on Mon, 29 Nov 2021 16:17:09 +0200