Flexmark Java markdown add target attribute to link

Flexmark Java is a java version of Markdown conversion tool, which basically supports all Markdown syntax and has good scalability. This paper mainly adds target attribute to link through extension form The extension of this article will also support Spring Properties for dynamic configuration, domain name exclusion, relative path exclusion, ...

Added by mcccy005 on Sat, 02 May 2020 22:44:19 +0300

Spring boot project uses redis database as cache

1. Import the jar package and build the project with maven and springboot:      <dependency> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter-redis</artifactId> </dependency> <dependency> <groupId>org.springfr ...

Added by blueguitar on Fri, 01 May 2020 14:59:23 +0300

Awesome, the asynchronous processing mechanism of Servlet3

Servlet3 has been released for several years. How many people know its new features? Here is a brief introduction. The following features are mainly added: 1. Asynchronous processing support 2. Pluggability support 3. Annotation support, zero configuration, no need to configure web.xml ... What the hell is asynchronous processing? Operate the k ...

Added by JamieWAstin on Wed, 29 Apr 2020 19:20:32 +0300

JUnit of Java unit test

Unit test is to write test code, which should ensure the correctness of basic program modules accurately and quickly.Good unit test standards JUnit is a Java unit testing framework that has been installed by default in Eclipse. JUnit4### JUnit 4 identifies test methods by annotations. Currently, the main comments supported are: @Bef ...

Added by byronbailey on Wed, 29 Apr 2020 03:01:37 +0300

SpringBoot+RabbitMQ learning notes Topic of three switches using RabbitMQ

I. Introduction Topic Exchange Match the routing key to a pattern. At this time, the queue needs to be bound to a mode. The symbol "ා" matches one or more words, and the symbol "*" does not match many words. So "audit. *" can match "audit.irs.corporate", but "audit. *" only matches "audit.i ...

Added by jholzy on Tue, 28 Apr 2020 19:52:58 +0300

File upload Spring MVC cross server

prerequisite The value of enctype of form must be multipart / form data. The function of enctype is the type of request body method must be post Need to have < input type = "file" / > tag To implement a file using the Commons file upload component, you need to import the corresponding supporting jar package of the comp ...

Added by elle_girl on Tue, 28 Apr 2020 19:17:11 +0300

Java project creation -- unified result processing and exception handling

1, IDEA plug-in use 1. Description Spring boot 2.2.6, JDK 1.8 and mysql 8.0.18 are used as demonstration here. Use IDEA as a development tool.   2. IDEA plug-in -- Lombok (1) IntroductionLombok can automatically generate constructor, getter/setter, equals, hashcode, toString and other methods for properties during compilation through annotation ...

Added by juneym on Sun, 26 Apr 2020 14:45:44 +0300

Spring entry to see this one enough!!! Not enough to find me!

Today, let's have some good guys. There are some java basics in front of us, How to say also need to have some frame right, don't say much, Huang sir takes you to open dry! It's over   Spring framework 1, Spring Brief Why learn spring? Advantages of traditional projects: easy to build Disadvantages of traditional projects: ...

Added by Rob2005 on Sat, 25 Apr 2020 19:20:44 +0300

A process of Spring Bean from scratch

There is a beginning but no end Experienced the history of java development, from the early writing of native servlet s, self-developed mvc and jdbc tools, and the use of open-source framework struts, hibernate, jsp, spring, springmvc, freemaker, springboot, to the final front and back-end separate development, the first development tool is e ...

Added by robinas on Fri, 24 Apr 2020 09:45:41 +0300

Detailed tutorial on Redis caching in the SpringBoot series

Introducing the use of caching in SpringBoot projects, let's start with an introduction to Spring's cache abstraction and JSR107. This blog is a note I made after learning Silicon Valley videos and referring to other blogs for learning purposes only. This blog will provide more detailed information about Spring's cache annotations, how to use t ...

Added by t3l on Tue, 21 Apr 2020 20:09:29 +0300