Java
-
A simple example of Java judging the length of Chinese string
Don't say much, code: The above simple example of Java judging the length of Chinese string is all the content shared …… -
Detailed explanation of scala applet and example code
Detailed explanation of scala applet 1. interactive mode In the command line window, enter the scala command: First …… -
Detailed explanation of websocket + spring sample demo (sockjs library has been used)
1. Introduction As the next generation web standard, HTML5 has many remarkable new features, such as canvas, local sto…… -
Spring websocket sample explanation
scene Websocket is one of the newly added features of HTML5. Its purpose is to establish a full duplex communication m…… -
15 top Java multithreaded interview questions (with answers)
Multithreading and concurrency issues are an essential part of any Java interview. If you want to get a front desk inf…… -
Detailed steps to close Alipay’s confidential payment procedures
As one of the most commonly used applications in our daily life, Alipay has become the virtual wallet of people. But r…… -
The Jackson framework of Java can easily convert JSON
Jackson can easily convert Java objects into JSON objects and XML documents. He can also convert JSON and XML into Jav…… -
JSON parsing and serialization using Jackson in Java
Common JSON class libraries under Java include gson, JSON lib and Jackson. Jackson is relatively efficient. Jackson is…… -
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…… -
Explain in detail the simple addition, deletion and modification through JDBC (take MySQL as an example)
Foreword: what is JDBC Java database connectivity (JDBC) is an application program interface used in the Java language…… -
Java implementation traverses all files under the folder (recursive call and non recursive call)
Java traverses all files under the folder (recursive call and non recursive call) 1. Do not use recursive method calls…… -
Example code of Excel file upload and download based on spring MVC
Recently, I encountered a demand. I need to download the excel template, upload it for analysis and store it in the da…… -
Introduction and wonderful use of absolute value function in Java
1、 Instructions for absolute value function The absolute value function is math in JDK Java implementation method, wh…… -
Summary of six principles and one rule of java object-oriented
1. Single responsibility principle: one kind only does what it should do. 2. Richter substitution principle: a subclas…… -
Several algorithms of Java symmetric encryption are implemented respectively
Java symmetric encryption is implemented using DES / 3DES / AES algorithms There are two sentences: 1) Algorithms and …… -
Delete element instance code in linked list of Java data structure
Java delete elements in linked list The following example demonstrates using the clear() method to delete elements in …… -
Summary of six principles and one rule of java object-oriented
1. Single responsibility principle: one kind only does what it should do. 2. Richter substitution principle: a subclas…… -
Java sorts list collections sort()
Sort the objects in a collection, and sort them in ascending or descending order according to the size of an indicator…… -
Explain in detail that the Java client can’t link to the redis solution
Problem Description: 1.Could not get a resource from the pool,Connection refused: connect The windows java client link…… -
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……