Original Link: http://www.yiidian.com/springmvc/return-value.html
The controller method return value of Spring MVC can support multiple writings, each of which has a different scene and effect.Here's a look at the use of each return value.
1 Normal string
Returning normal st ...
Posted on Mon, 30 Mar 2020 21:15:39 -0400 by lunac
Topic comes from Example 1 of Python math calculation and programming exercises
Brief introduction: here are four numbers: 1, 2, 3 and 4
Question: how many different and unrepeated three digit numbers can you make up? How many are each?
Python problem-solving thinking analysis: the numbers that can be filled in ...
Posted on Mon, 30 Mar 2020 17:35:06 -0400 by witty
openGL mainly distinguishes the positive and negative sides through the vertex drawing order to achieve the effect of face culling. It is difficult to understand both sides. How to judge?
Positive and negative distinction:
1. Front: triangle faces connected in the order of anticlockwise vertices 2. Back: triangle face connected in clockwi ...
Posted on Mon, 30 Mar 2020 11:05:44 -0400 by drath
When developing the system, the company will require developers to write unit test, but different companies have different requirements for writing unit test. Here are some ways to write unit test.
1. Create a project and introduce the jar package related to unit test
Posted on Mon, 30 Mar 2020 06:15:12 -0400 by vaan
Yes, this is the problem encountered in using the XXL distributed timed task framework. Most of the solutions given on the Internet for this kind of problem are about the wrong project address of the actuator configuration scheduling center. You need to modify the configuration xxl.job.admin.addresses. I don't use the distri ...
Posted on Mon, 30 Mar 2020 01:06:03 -0400 by Ekano
Think of a group of businesses as a business: either they succeed or they fail.
Transaction is very important in project development. It involves data consistency and cannot be sloppy.
Ensure integrity and consistency.
Transaction ACID principle:
Multiple businesses may operate on the same ...
Posted on Sun, 29 Mar 2020 13:48:05 -0400 by sdi126
[Ali big fish]
In our development, the function of sending and receiving SMS to the mobile phone for verification is very widely used in our daily life, especially when we want to have our own account in a website, an app, a blog network, then we have to register and log in, SMS is essential, even if you forget the password, a SMS back and for ...
Posted on Sun, 29 Mar 2020 13:26:50 -0400 by amob005
Original link: http://www.yiidian.com/mybatis/mybatis-dao.html
In MyBatis, we have two ways to write Dao, one is called traditional Dao and the other is Mapper proxy interface. Let's see how to implement it.
1. Traditional Dao writing
1.1 write CustomerDao interface
import java.util.L ...
Posted on Sun, 29 Mar 2020 10:17:00 -0400 by jcbones
Appearance pattern, also known as facade pattern, is a common structure pattern, which embodies the idea of object-oriented design encapsulation.
2 appearance mode
The so-called appearance is actually an extra class, which contains complex and changeable subsystems and only provides simple interfaces. Compared with subsystems, appear ...
Posted on Sun, 29 Mar 2020 02:57:25 -0400 by fugix
Dubbo SPI series
On Java SPI
How to use Dubbo SPI (I) - automatic packaging of extension points
Dubbo SPI using method (2) - extended point adaption
Dubbo SPI usage (3) - automatic assembly of extension points
Dubbo source code analysis - Application of Dubbo SPI in Protocol layer
Dubbo source code analysis - Dubbo SPI obtains extension poin ...
Posted on Sun, 29 Mar 2020 02:15:21 -0400 by jfs0479