Spring MVC JSON interaction processing
8, JSON interactive processing
1. What is JSON?
Posted on Sun, 19 Sep 2021 14:28:53 -0400 by davey_b_
After joining the new company, when developing business code at work recently, I found that the method parameters in the controller layer cannot be in the form of user-defined objects, but can only be single attribute methods one by one, and the objects can only be objects of PageRequest and FallsPageRequest types. Therefore, if ...
Posted on Sun, 19 Sep 2021 10:06:01 -0400 by digibrain
The loadUserByUsername of SpringSecurity threw an exception and could not catch the cause analysis
I believe everyone is familiar with spring security. It is a framework that I love and hate. The configuration is not simple, but the function is extremely powerful. Let's analyze the reason why the custom exception thrown in loadUserByUsernam ...
Posted on Thu, 16 Sep 2021 19:38:11 -0400 by Stickdragon
SpringBoot uses a global configuration file with a fixed name;
Function of configuration file: modify the default value of SpringBoot automatic configuration; SpringBoot is automatically configured at the bottom;
YAML(YAML Ain't Markup Language)
YAML A Markup Language: is a markup language
YAML isn ...
Posted on Wed, 08 Sep 2021 20:15:05 -0400 by knighthawk1337
1. Review MVC
1.1 what is MVC
MVC is the abbreviation of model, view and controller. It is a software design specification.It is a method to organize code by separating business logic, data and display.The main function of MVC is to reduce the two-way coupling between view and business logic.MVC is not a design pattern, MVC ...
Posted on Wed, 08 Sep 2021 14:50:31 -0400 by dgudema
Spring MVC file upload and download
File upload and download are frequently used functions in Web projects. Spring MVC can well support file upload and download; This section creates a new SpringMVC-09-File project. Learn to upload and download files in SpringMVC.
1. File upload
1.1 pre knowledge
File upload is to transfer data from the cli ...
Posted on Mon, 06 Sep 2021 23:37:58 -0400 by dai.hop