Java
-
In mybatis analysis
When using mybatis, our SQL is written in the XML Mapping file. If there are some special characters in the written SQ…… -
Solution to the problem that struts and servlet cannot coexist
In a project, if we use both struts 2 and servlet, we may not be able to access the servlet normally when the project …… -
Java takes methods as parameters — instances of polymorphism
When studying the intelligent algorithm in the previous paragraph, I found that if it is implemented in Java, the spec…… -
Introduction to struts 2 intercepting string code
During development, we often encounter the problem that the string is too long and needs to be intercepted and display…… -
Spring and mybatis integration profile
Recently, because the project requires the integration of Spring + mybatis architecture for project development, the r…… -
Installation of java9 learning series and use of jshell
preface With the update of the standard Java version, developers can always get the desired functions from the upgrade…… -
Java example of reading web page content
Java example of reading web page content The above code program reads the source code of a web page, including HTML an…… -
Java9 Learning Series how to run java9 in docker
Preface @ h_ 419_ 5@ This article will give you a detailed introduction to how to run java9 in docker, and share it fo…… -
Struts 2 dynamic result set code example
The dynamic result set can specify the page to jump to in the action (${} is an ojnl expression, not an EL expression)…… -
Java polymorphism definition and usage examples
This article describes the definition and usage of Java polymorphism with examples. Share with you for your reference,…… -
Spring boot custom 404 error message method example
preface This article will give you a brief introduction to how to personalize 404 error information in springboot and …… -
Method of converting excel table into JSON by Java
Today, a friend of mine asked me if there was any way to use Excel and JSON everywhere. I found several tools on the I…… -
Java calls 7zip to decompress an instance of the compressed package
preface Recent projects need to use the function of decompressing the package. The format of the compressed package gi…… -
An example of stack and queue in Java data structure
An example of stack and queue in Java data structure Stack and queue are two important linear data structures, which s…… -
Introduction to Hadoop components
Install HBase First download the latest stable version of HBase http://www.apache.org/dyn/closer.cgi/hbase/ file:///ho…… -
Typical case of java interface implementation
No more nonsense, go straight to the code The above typical case of java interface implementation is all the content s…… -
Detailed explanation of struts 2 using ognl to traverse map
I Code in action: mapaction java II Front end test page: testmap jsp Java code Attachment: the type of map is map <…… -
Detailed explanation of simple factory pattern of Java design pattern
Simple factory mode: a factory object determines which kind of instance to create. 1. Abstract class 2. Specific categ…… -
Analysis of exception handling mechanism in struts 2
Because an exception is thrown when the execute method of action is declared, we don't need to catch the exception in …… -
Java export JSON format file sample code
This article introduces the sample code of Java exporting JSON format files and shares it with you. The details are as…… -
Simple use of zookeeper in Java
1、 Fundamentals of zookeeper The data model is as follows: The structure of zookeeper data model is very similar to U…… -
Realization of positive film lamination effect in java image processing tutorial
preface This article mainly introduces the method of how to realize the positive film stacking effect by using Java, a…… -
Detailed explanation of HBase and hive data synchronization
Hive's table data can be synchronized to impala. Generally, impala provides real-time query operations, such as time-c…… -
Mybatis batch modification operation code
1. The modified field values are the same, but the IDs are different Collection: if it represents a type, it is writte…… -
Detailed explanation of three simple implementation methods of Java countdown
After writing JS countdown, I suddenly want to use java to realize the countdown. I wrote three implementation methods…… -
Internationalization of spring security and configuration and use of usercache
International configuration The path of the message file is configured in basename In spring-security-core-3.2 0.M1. O…… -
Detailed examples of Java design pattern (DAO)
Detailed examples of Java design pattern (DAO) Application scenario: in Java programs, it is often necessary to persis…… -
Reentry lock and read-write lock in Java Concurrent Programming
Reentry lock Reentry lock, as its name suggests, is a lock that supports reentry. It means that the lock can support r…… -
Implementation method of cross domain request of CORS in Java
problem When developing projects using the front-end and back-end separation mode, we often encounter such a problem -…… -
Spring MVC file upload sample code
As always, record common and easy to forget things. This blog post is mainly about how spring MVC uploads files. The f…… -
Exception handling method based on Java sub thread (general)
In ordinary single threaded programs, you only need to catch exceptions through try catch ... finally ... Just code bl…… -
Ratelimiter source code analysis
As the saying goes, caching, current limiting and degradation are the three sharp swords of the system. When exporting……