Java
-
On using session to prevent repeated submission of forms
To solve the problem of repeated submission of forms in projects, the following situations may occur in ordinary proje…… -
Detailed explanation of Java date processing tool class dateutils
This example shares the specific code of Java date processing tool class dateutils for your reference. The specific co…… -
Java uses spring to realize the sample code of read-write separation
In the recently launched projects, the database data is approaching saturation, the largest table data is close to 300…… -
Spring boot automatically updates static files and instances of background code
During the use of spring boot, I found that I modified the static file. After the foreground is refreshed, there is no…… -
Java language implementation maximum heap code example
Maximum heap The characteristic of the largest heap is that the parent element is larger than the child element, and i…… -
Sample code of spring AOP to implement permission verification function
There are many ways to realize the function of function permission verification. One is to use interceptors to interce…… -
Spring boot application startup and shutdown method
Spring boot, as the product of the spring framework's best practice of the concept of "convention over configuration",…… -
Talking about replacing Maven image with Alibaba cloud central warehouse (fine)
preface Every time I update Maven project, I look at the progress bar and feel very uncomfortable, which obviously hin…… -
Static class in Java
In general, you can't modify a class with static. If you must use static to modify a class, static usually modifies an…… -
NiO pipeline usage code sharing of Java
The pipeline in Java NiO is similar to the actual pipeline. It has two ends, one as input and one as output. In other …… -
Method of reading configuration file in Src / main / resources directory in Maven project
In the development of Maven project, what should I do when I need to read the configuration file under Src /? Let's as…… -
Spring boot customization and optimization built-in Tomcat container example details
1. Spring boot customizes and optimizes the built-in Tomcat container. >There are three built-in containers: undert…… -
Explain log4j Simple configuration and use of properties
This paper introduces log4j The simple configuration and use of properties are shared with you as follows: Simple log4…… -
Java reflection get and call methods
Get methods from class: public method [] getmethods()// Get all public methods including itself and inherited (impleme…… -
Detailed explanation of timestamp type conversion of Java dateutil tool class
This example shares the specific code of dateutil tool class timestamp type conversion for your reference. The specifi…… -
23 design patterns (14) Java iterator pattern
23 design patterns Part 14: Java iterator pattern Definition: provides a way to access each element in a container obj…… -
Mybatis environment construction and use example code
Introduction to mybatis: Mybatis was originally an open source project ibatis of Apache. In 2010, the project was migr…… -
Detailed explanation of memory leak code in Java language
An important feature of Java is that the garbage collector (GC) automatically manages the recycling of memory without …… -
Java implementation generates a complete code example of Excel tree header
This article mainly shares the complete code example of generating excel tree header by java implementation. There is …… -
Java programming code example of adding two large numbers
Generally, BigInteger and BigDecimal are used to realize large number operation. These two methods represent immutable…… -
Using java + Mysql to realize nearby function examples
preface Today, with the extensive development of mobile Internet, app development has become the first choice for many…… -
Depth first and breadth first Java implementation code examples
In programming life, we always meet tree structure. These days, we just need to operate the tree structure, so we can …… -
Mybatis enables spring transaction code parsing
1. Business The essence of spring transactions is actually database support for transactions. Without database transac…… -
Java calls JavaScript to implement string calculator code example
If the expression is in the form of string, we will generally encounter great problems in evaluation. There is a metho…… -
Explain the local warehouse and remote warehouse of Maven warehouse in detail
What is Maven warehouse When Maven is not used, for example, we used to build projects with ant. In the project direct…… -
Explain the spring aspect and use the parameters passed to the notified method
This article introduces the parameters passed to the notified method in the spring aspect, and shares them with you. T…… -
Detailed explanation of integer in Java that you don’t know
preface This article mainly introduces the relevant contents of integer in Java for your reference and learning. Let's…… -
Java uses POI package to read excel document code sharing
The project needs to analyze EXCEL documents to obtain data, so I found some materials on the Internet and wrote down …… -
Using java to realize mailbox group sending function
This example shares the specific code of mass email sending in Java for your reference. The specific contents are as f…… -
Analysis of ArrayList source code in Java programming
I've read a sentence before. It's very good. Someone asked, what's the use of reading the source code? Learn the desig…… -
Java creates a binary search tree to realize the operation examples of search, insertion and deletion
Binary search tree implemented in Java, and search, insert and delete the tree (merge, delete, copy and delete) First,…… -
Java programming to cut files with hash method
Hash is usually translated as "hash" or directly transliterated as "hash", Is to input any length (also known as pre i……