Java
-
Tomcat error: wrapper cannot find servlet class Problem solving
When Tomcat publishes the project, enter the correct address in the browser, and the following problems are encountere…… -
Detailed explanation of Java date conversion and example code
Java date conversion Core classes involved: Date class, simpledateformat class and calendar class 1、 Date type and lo…… -
Mybatis quick start (simple and easy to understand)
1、 Introduction to mybatis Mybatis is an excellent persistence layer framework that supports common SQL queries, stor…… -
java_ Timestamp and date_ Mutual conversion implementation code
1. Definition of timestamp Timestamp refers to the creation, modification and access time in file attributes. Digital …… -
Java web development is the perfect solution to prevent multiple users from logging in repeatedly
At present, in many web projects, the same account information can be logged in at different login portals, which is n…… -
Explain the use example of Java based on mybatis
Mybatis, formerly known as ibatis, was originally an open source project of Apache. In 2010, the project was migrated …… -
Java array, remove duplicate values, add and delete array elements
As follows: Console results: The above is the Java array brought by Xiaobian. The methods of removing duplicate values…… -
Explore those modifiers in the Java language
I Some modifiers provided in Java can modify classes, variables and methods. Common modifiers in Java include abstract…… -
Explain the difference between Java overloading and overriding
Many students don't know the difference between overload and override. It is recommended not to memorize conceptual kn…… -
Java can efficiently judge whether there is a detailed explanation of an element in the array
1、 Method to check whether the array contains a value Use list Use set Use circular judgment Use arrays binarySearch(…… -
On the differences of three rounding functions in math class in Java
Three rounding functions in math class 1.ceil 2.floor 3.round In fact, the three rounding functions are quite simple A…… -
Implementation of fuzzy query in Java list
For example, I have the following list, which stores multiple employee objects. Then I want to perform a fuzzy query o…… -
Three ways to realize java multithreading are explained in detail
Recently, I learned and studied the use of Java multithreading when doing code optimization. After reading the opinion…… -
Code analysis of upload and background file legitimacy verification
Background upload method File validity verification class Front end upload JS The above is the code analysis of upload…… -
Java EE online number management system
This blog is a summary of filter, listener and servlet technologies. It realizes the functions of simply displaying th…… -
Java POI common method for parsing Excel data conversion (recommended)
As follows: The above public method for data conversion of Java POI parsing excel (recommended) is all the content sha…… -
Mutual conversion between string and byte array in Java
preface When Java communicates with programs written in other languages through TCP / IP socket, the communication con…… -
Implementation of Java rounding and keeping decimal
//Mode 1: double f = 3.1516; BigDecimal b = new BigDecimal(f); double f1 = b.setScale(2,BigDecimal.ROUND_HALF_UP). dou…… -
Implementation method of conversion between Java byte array and int, long, short and byte
Examples are as follows: The above is all about the implementation methods of Java byte array and int, long, short and…… -
Java solution for intercepting strings with Chinese characters by bytes (recommended)
Since the length of the Oracle field used by the interface is a fixed number of bytes, and the string transmitted late…… -
Java removes duplicate elements from the sorted array
@H_ 502_ 1 @ Title Description Given a sorted array, remove the duplicate elements in the array, keep only one duplica…… -
Java self-study books recommend programmers to architects
As a java programmer, the most painful thing is that there are too many choices and too many books to read, which is o…… -
Java uses hashtable to filter duplicate values in an array
This article describes how Java uses hashtable to filter duplicate values in arrays. Share with you for your reference…… -
On substring () method in Java string
The method is as follows: The first int is the starting index, corresponding to the starting position in the string nu…… -
Writing LAN multiplayer chat room based on Java
Because we need to make the course design of network computer network, and don't want to do things that we don't under…… -
Talking about Java generic wildcards solves many criticisms of generics (such as not overloading)
Generic: Generic methods cannot be overloaded because they are the same after being erased, that is, if the formal par…… -
Another wave of essential books for Java professionals
Essential books for Java professionals: Every programmer has books that are often worn out as professional information…… -
Summary of common functions based on math class in Java
Summary of several commonly used mathematical formulas in Java: Random class is specially used to generate a pseudo-ra…… -
Implementation of Java string encryption and password encryption
In our program design, we often need to encrypt some special content. Today, we have summarized several simple encrypt…… -
Conversion method between java basic type and byte array
The conversion between java basic types and byte arrays is just written The above conversion method between java basic…… -
On the type derivation of Java 8’s new feature generics
1. What is generics? Before discussing type inference, we must review what is generic Generics is a new feature of Jav…… -
Fully understand the differences and applications between java basic types and encapsulation types
1. Basic types can only be passed by value, and the encapsulation class corresponding to each basic type is passed by ……