包含标签:Java 的文章
-
Java removes simple instances of duplicate objects
Examples are as follows: Solution idea: create a temporary container ArrayList to store non duplicate objects. Input n…… -
JSP, struts, spring and mybatis to realize the modular splitting of front-end page functions
Front end page function modular split When a system has many functions, it is impossible to write the pages of all fun…… -
SSH combined with jQuery to achieve three-level linkage effect
This example shares the specific code of jQuery to realize three-level linkage for your reference. The specific conten…… -
Spring MVC — detailed explanation of data binding and form tags
Data binding and form labels Data binding Data binding is a feature that binds user input to the domain model. In the …… -
Detailed explanation of Java single test void type method
preface When we learn Java, teachers or ordinary books say that there are eight basic types of Java. They are byte, in…… -
Overview and implementation steps of picture verification code
I Picture verification code overview: Many websites have this implementation effect: In order to improve the security …… -
The mybatis interceptor implements paging
Final Dao layer result: The next step is to implement paging step by step. I To create a page object: It can be found …… -
Java regular expression to extract the required characters and put them into the array [ArrayList array de duplication function]
This example describes the implementation of Java regular expression to extract the required characters and put them i…… -
An example of paging using hibernate and struts 2
Thinking of learning a new thing every day, I prepared this hibernate + struts 2 to realize the page paging function. …… -
Using log4j to output logs of different packages to different files
preface With the increasing scale of the project, new modules will be introduced continuously. Different modules will …… -
Detailed explanation and example code of Java timer (timer, TimerTask)
Java timer The two classes used to implement the timer function in Java are timer and TimerTask Timer class is a class…… -
Fast JSON in Java generates and parses JSON data (serializes and deserializes data)
This article explains two points: 1. Fastjson generates and parses JSON data (for example: four common types: JavaBean…… -
Implementation of distributed timed task framework based on Spring + quartz
Problem background Our company is a fast-growing start-up company with 200 people. Its main business is related to tou…… -
Method example of binary processing based on shift operation in Java
This paper describes the method of binary processing based on shift operation in Java. Share with you for your referen…… -
Summary of Java methods for obtaining file extensions [regular and string interception]
This paper describes the method of obtaining file extension in Java. Share with you for your reference, as follows: Pr…… -
Java multithreading foundation lock class
As mentioned earlier, the JVM provides the synchronized keyword to achieve synchronous access to variables and inter t…… -
Perfect solution for Java Lang.outofmemoryerror handling errors
Reasons: the following are common: 1. The amount of data loaded in the memory is too large, such as taking too much da…… -
Java and TestNG use XML as data source to explain the data-driven example in detail
Java and TestNG use XML as data source to explain the data-driven example in detail TestNG is very powerful. It can be…… -
Using cookies to remember user’s account and password in Java Web
The function of remembering the account and password needs to be used in the graduation project. I found a solution on…… -
Detailed explanation of XML configuration in mybatis
Mybatis commonly uses XML configurations with caching disabled Mybatis is fully configured as follows: Mybatis officia…… -
JDBC connection to Oracle database function example
This paper describes the function of JDBC linking Oracle database. Share with you for your reference, as follows: I ho…… -
Detailed introduction and summary of java reflection mechanism knowledge
This article will describe the knowledge of reflection from the following aspects: 1、 What is a class In the object-o…… -
Implementation of Java websocket and sample code of spring websocket
Start learning websocket, and prepare to use it to realize a log that outputs log4j in real time on the page and the l…… -
Deep analysis of Java disassembly box
Let's start with a code: Guess what? Many people will think that the results are all true, but that's not the case tru…… -
Calculates the maximum public substring of two strings
background There has been little application of algorithms. Recently, I saw some typical algorithms and wanted to prac…… -
Method of parsing excel file with Java
The POI package needs to be imported before the project is established. Download address of POI related jar package: h…… -
Deep understanding of spring AOP
I preface In previous projects, I seldom paid attention to the specific implementation and theory of spring AOP. I jus…… -
Composite of Java design patterns
summary It is a structural mode, which organizes objects in a tree structure to represent the "part whole" hierarchy, …… -
Writing method and simple use of mybatis configuration file
First meeting mybatis At first, Apache had an open source project of Batis, which was put in Google Code. Later, it wa…… -
Java IO is an example of computer search and deletion
I Recursive method @ h_ 301_ 4@ 1. Recursion is to call its own method on the premise that there is a method. 2. Recur…… -
Java Web export data to PDF format file code snippet
The effect of this clip is: after accessing this request, the browser will open a new interface and display the PDF fi…… -
Play spring boot with angularjs and JDBC (4)
Refer to official examples: http://spring.io/guides/gs/relational-data-access/