Recent Posts
-
Application example of deploying spring boot using docker
The development of docker technology provides a more convenient environment for the landing of micro services. It is a…… -
Super simple java to obtain the instance of mouse click position coordinates (the coordinates of the mouse on the JFrame)
1. Place a jlabel label at the top of the window, and the text in the label defaults to "display the coordinates click…… -
Graphic tutorial on how to install JDK and MyEclipse
1. Click the JDK installation package, and then continue to click next. Finally, click OK 2. Install MyEclipse: 1 >…… -
Solve the problem that the time-space value of XML to JSON is converted into empty parentheses by using JSON lib package
Many data with the value of brackets [] appear in the project database, and a bug is reported in the test. After troub…… -
Semaphore source code analysis of Java Concurrent series
Semaphore (semaphore) is a commonly used class in JUC package. It is an application of AQS sharing mode. It can allow …… -
JSP uses servlet as controller to realize MVC mode. Detailed explanation of an example
This paper describes the method of using servlet as controller to realize MVC mode in JSP. Share with you for your ref…… -
Implementation of multithreaded breakpoint download in Java
The principle of Java multithreaded breakpoint download is shown in the figure below: The code is as follows: The abov…… -
Spring boot realizes the function of image upload
This example shares the specific code of spring boot image upload for your reference. The specific contents are as fol…… -
Spring boot realizes the functions of image upload and download
This blog briefly introduces the problems encountered in uploading and downloading pictures under spring boot. First, …… -
AspectJ annotation configuration of spring AOP to realize log management
Recently, the project will do a logging function, which I use the annotation method of spring AOP to implement. Create…… -
Mybatis calls methods of views and stored procedures
The current project takes mybatis as the O / R mapping framework, which is really easy to use and very convenient for …… -
Spring boot implementation file upload instance (multi file upload)
File upload is mainly divided into the following steps: (1) Create a new Maven java project; (2) Add corresponding dep…… -
Java method for reading all folders and file paths under it
Java reads the paths of all folders and files under it. The details are as follows If in the F: \ AA folder, there are…… -
Analysis of cyclicbarrier source code of Java Concurrent series
In real life, we often encounter such a situation. We need to wait for all the people before starting an activity. For…… -
Verification method of spring MVC annotation
Introduction and description The annotation verification of spring MVC can directly verify the simple data of view mod…… -
29 key points to help you complete Java code optimization
Optimize the program through Java code specification, optimize memory usage and prevent memory leakage Resources avail…… -
Session usage and scope of SSM project
In the past two days, I used Ajax to initiate asynchronous update requests on the front end. I found that Ajax would e…… -
JSP page to get the parameters in the servlet request
In Java Web application, how to obtain the parameters in the servlet request and pass them to the jump JSP page? For e…… -
Explain the configuration and use of spring boot properties in detail
Spring boot allows you to use the same application code in different environments through external configuration. In s…… -
Spring boot image upload and display function example explanation
First, describe the problem. The spring boot uses the embedded tomcat, so it is not clear where the files are uploaded…… -
Deep understanding of Java annotation types (@ annotation)
Java annotation is a new feature introduced in jdk5. Since most frameworks (such as spring) use annotations to simplif…… -
Abstractqueuedsynchronizer source code analysis of Java concurrency series (shared mode)
Through the analysis of the previous article, we know that there are three ways to obtain locks in exclusive mode: do …… -
How to use Java annotation in Java Tutorial
1. General Annotations can be defined on methods and classes. An annotation is equivalent to a class, which is equival…… -
Java uses file input and output stream to copy all files in a folder to another folder
1、 Basic objectives Use java to complete the following operations: Copy all files in one folder to another folder. Fo…… -
Countdownlatch source code analysis of Java Concurrent series
Countdownlatch is a very useful tool class. Using it, we can intercept one or more threads and make them execute after…… -
Method of deploying spring boot Maven application using docker
This article introduces the deployment of spring boot Maven application using docker and shares it with you as follows…… -
Sample code of Java SSM framework to realize paging function (Oracle)
The paging function of Java Web is shared with you as follows: Using framework: SSM Database: Oracle In other words, t…… -
Mybatis uses JDBC The solution of setting the properties file does not work
It works when it's written like this: It doesn't work: resolvent: 1. In JDBC Right click properties to change iso-8859…… -
Using spring’s annotation method to implement AOP instances
Spring provides good support for the implementation of AOP. Let's use spring annotations to complete AOP as an example…… -
In depth understanding of bean life cycle in spring
1. Take the ApplicationContext context singleton pattern assembly bean as an example to deeply explore the bean life c…… -
Detailed explanation of wechat JS SDK + java to realize the functions of “sharing to the circle of friends” and “sending to friends”
The main steps are as follows: 1. Bind domain name First login WeChat public platform into the "official account setti…… -
Example of mutual conversion function between timestamp and Date object implemented in Java
This paper describes the function of mutual conversion between timestamp and date objects implemented in Java. Share w……