Create your own Valentine's Day card in Python. Send it to TA for romance
Tomorrow is Valentine's day. This Valentine's Day is doomed to be a Valentine's day that can't be dated, but not dating doesn't mean that can't be romantic. The ancients were born earlier than us, and those romantic poems were mined out by them. We certainly have no chance. Fortunately, we also have Python, otherwise we don't know how to expres ...
Posted by Scip on Sun, 05 Apr 2020 10:57:31 +0200
Using third-party JSON framework for getting started with Spring Boot
Note summaries
This paper takes Spring Boot using fastjson instead of the original JSON framework as an example to show how Spring Boot uses the third-party JSON framework.
Spring Boot uses custom JSON framework methods
Method 1
Introducing dependency into pom.xml;
Inherit WebMvcConfigurerAdapter from the App ...
Posted by e39m5 on Sun, 05 Apr 2020 10:22:39 +0200
Configuration of spring MVC in spring boot
Using spring MVC in spring boot
To use spring MVC in spring boot, you only need to introduce spring boot starter web (provided that the pom file of the project is inherited from spring boot starter parent):
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring- ...
Posted by Firestorm ZERO on Sun, 05 Apr 2020 03:11:10 +0200
Spring IOC trace part of manual framework ①
In the last section, we talked about the preparation of the basic environment. From this section, we officially enter the source code disassembly phase. There is a large amount of information. Please take out the notebook and record it
If you have any questions, please add QQ group: 77174608 to discuss.
Don't talk much nonsense, enter the tra ...
Posted by chaking on Sun, 05 Apr 2020 00:43:31 +0200
Gateway filter batch release url specified by properties -- white list
White list
2.4.1 what is a white list
Problem: all requests are blocked and do not meet the actual requirements. (some requests do not need to be intercepted)
White list: used to store the request path that does not need to be blocked
2.4.3 implementation
Step 1: modify the gateway yml file, and configure the path that does not need to be b ...
Posted by gijs25 on Fri, 03 Apr 2020 07:00:38 +0200
spring boot project packaging
1, Modify packing form
Set < packaging > war < / packaging > in pom.xml
2, Remove the embedded tomcat plug-in
Find the spring boot starter web dependency node in pom.xml, and add the following code,
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-web</ ...
Posted by Flinch on Tue, 31 Mar 2020 16:17:18 +0200
[springboot] render web page
Spring Boot provides the following template engines for default configuration:
Thymeleaf
FreeMarker
Velocity
Groovy
Mustache
Note: avoid using JSP, JSP can't realize many features of Spring Boot;
Integrate jsp
Tips:
1. Packing method war
2. To import a pom file:
<!-- Introduce freeMarker Dependency package. - ...
Posted by sureshp on Mon, 30 Mar 2020 22:53:41 +0200
Spring boot Kafka advanced version development
Introduce dependency
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter</artifactId>
</dependency>
<dependency>
<groupId>org.springframework.kafka</groupId>
<artifactId>spring-kafka</artifactId>
<versi ...
Posted by gnetcon on Mon, 30 Mar 2020 21:51:49 +0200
[SpringBoot MQ Series] Introduction to basic usage posture of RabbitListener
[MQ Series] Introduction to basic use posture of RabbitListener
The message sending posture of rabbitmq was introduced before. Since there is sending, there must be consumers. In the spring boot environment, consumption is relatively simple. With @ RabbitListener annotation, you can basically meet more than 90% of your business development n ...
Posted by karnegyhall on Mon, 30 Mar 2020 15:05:00 +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