Java
-
Detailed explanation of the example of passing object parameters in spring MVC
preface As a beginner of Java, due to the urgency of the project, there was no time to study it carefully. When passin…… -
Introduction to custom annotation based on Java annotation
To deeply study annotations, we must be able to define our own annotations and use them. Before defining our own annot…… -
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…… -
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…… -
Jsp + servlet + JavaBean complete example of data paging method
This paper describes the method of data paging with JSP + servlet + JavaBean as an example. Share with you for your re…… -
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 …… -
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…… -
Spring boot requests exception handling and returns the corresponding HTML page
Through previous studies, I know that the middleware can preprocess HTTP requests and return corresponding pages (for …… -
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…… -
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 …… -
Explain in detail the life cycle, scope and implementation of beans in spring
preface In ApplicationContext After configuring beans in XML, what are the declaration Cycle States of beans. What can…… -
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…… -
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…… -
Spring MVC uses @ initbinder tag to bind form data
In spring MVC, date, double and other types are defined in beans. Without any processing, date and double cannot be bo…… -
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…… -
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 >…… -
Deep understanding of spring boot property configuration files
preface I believe many people choose spring boot mainly because it can not only take into account the powerful functio…… -
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…… -
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…… -
Java object-oriented programming polymorphism example
This paper describes the polymorphism of java object-oriented programming. Share with you for your reference, as follo…… -
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…… -
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…… -
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…… -
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…… -
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…… -
Verification method of spring MVC annotation
Introduction and description The annotation verification of spring MVC can directly verify the simple data of view mod…… -
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…… -
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…… -
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…… -
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…… -
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…… -
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……