Recent Posts
-
Java implementation of random number by weight
1、 Problem definition: Q: there is an array. The values in these arrays have their own weights. How can we design to …… -
Explain the basic usage of dynamic SQL in Java’s mybatis framework
Sometimes, @ r_ 419_ 2451 @ in the where condition of the statement, some safety judgment is required. For example, wh…… -
Detailed explanation of the method of printing Olympic logo with Java program
The Olympic five rings logo is composed of five Olympic rings, which are made up of five colors: blue, black, red, yel…… -
On the virtual machine structure of Java and the optimization of virtual machine memory
Since working, the code has been written more and more, the program has become more and more bloated, and the efficien…… -
Java version imitation QQ verification code style picture verification code
This article shares the Java version of the imitation QQ verification code style picture verification code. The specif…… -
Code example of generating JPG and compressed pictures as JPG files using java
Jpg format image generated by Java: The following is the generated picture Java compressed images are JPG thumbnails. …… -
Java component Commons fileUpload file upload example
File upload is very common in web applications. It is very easy to realize file upload function in Java Web environmen…… -
Socket network programming example of Java network programming (server / client)
Java provides two classes for TCP protocol, which are used in client-side programming and server-side programming resp…… -
Related problems and examples of Java array query [original]
In the process of array query, we sometimes encounter some problems. Let's follow the author to answer these problems.…… -
Discussion on the production of Java verification code (Part I)
I believe you will not be unfamiliar with the verification code. You will be required to enter the verification code w…… -
Summary of java knowledge points
1. Basic data type Shaping: Byte 1 byte Short 2 bytes Int 4 bytes Long 8 bytes Character: Char 2 bytes Floating point …… -
Native payment of wechat payment java version
Recently, I came across some things about wechat payment in my work. I saw that the demo given to me was in PHP versio…… -
Method instance of Java console input array and output in reverse order [original]
Input an array and output it in reverse order. This algorithm is often used in program development. Let's see how to i…… -
Four ways for Java to traverse map objects
For the specific four ways to traverse map in Java, please see the following details. This is the most common and, in …… -
Related problems and examples of Java array query [original]
In the process of array query, we sometimes encounter some problems. Let's follow the author to answer these problems.…… -
Deeply analyze the principle and application of java servlet filter
1. Servlet filter 1.1 what is a filter? A filter is a program that runs on the server before its associated servlet or…… -
How to realize the function of image clipping and preview in Java
In the project, we need to do some functions like Avatar upload and image clipping. OK, see the following article! Req…… -
List set and its traversal in Java
1. First, list < E > inherits from collection < E >, which is an interface. ① Collection (the collection f…… -
Method for realizing FTP uploading, downloading, deleting files and uploading folders in FTP server by Java
A java code for realizing FTP function, including the setting module of the server, and including the general method o…… -
Example of verifying mailbox and phone number with Java regular expression
The following code uses regular expressions to verify the input format, including verifying the mailbox and verifying …… -
Explain the dateformat and simpledateformat classes for formatting dates in Java
DateFormat 1. Dateformat introduction the function of dateformat is to format and parse "date / time". In fact, it is …… -
Simply understand the garbage collection mechanism of Java and the function of finalize method
When the garbage collector wants to recycle objects, it must first call the finalize method of this class (you can wri…… -
Tutorial on installing and configuring mybatis in java + Spring + MySQL environment
1. Introduction and configuration of mybatis mybatis + Spring + MySQL 1.1mybatis introduction mybatis is a persistence…… -
Mybatis learning tutorial (VII) – Introduction to mybatis cache
1、 Introduction to mybatis cache Like most persistence layer frameworks, mybatis also provides L1 and L2 cache suppor…… -
Analysis of inheritance relationship design in Hibernate framework of Java
This time, let's talk about the hierarchical design of hibernate, which is the design of inheritance relationship betw…… -
Writing java code creates a memory overflow condition
This will be an evil article. When you want to make a tragedy in someone's life, you may Google it. In the Java world,…… -
Java uses iterator to traverse the specified directory
You can traverse the specified directory (one or more) and all its sub files, which is implemented with iterator -
Use of S: select tag in struts 2 of JSP development
Use of S: select tag in struts 2 of JSP development 1. First example: 2. Second example: 3. Third example 4. Fourth ex…… -
Detailed explanation of the use of recyclerview instead of listview (I)
Recyclerview is a new widget in android-support-v7-21, and a cardview will be introduced next time. Official introduct…… -
IOS message remote push notification
This example shares IOS message push and IOS remote notification code for your reference. The specific contents are as…… -
Wechat development uses Java to obtain signature
1、 Foreword The three parameters noncestr, timestamp and signature required for wechat interface call verification: N…… -
Sample analysis of java web file upload and download function
In the development of web application system, file upload and download function is a very common function. Today, let'……