Java
-
Intercept the JSP page and verify whether it has been logged in. Explain and implement the code
Intercept the JSP page and verify whether it has been logged in Recently, for projects using struts 2, it is necessary…… -
Summary of exception handling in Java EE project (an article I have to read)
Why talk about exception handling in J2EE projects? Many java beginners may want to say, "exception handling is not tr…… -
Four methods of parsing XML in Java
XML has now become a general data exchange format. Its platform independence, language independence and system indepen…… -
Transformation and transfer method of JSON in Struts
This paper mainly discusses how to quickly convert ordinary data into JSON data, and discusses two methods: To prepare…… -
Java object-oriented interview collection
Java object-oriented: here is the basic object-oriented knowledge to help you learn and understand. I hope it can help…… -
Detailed explanation and examples of Java overload and override
Many students don't know the difference between overload and override. It is recommended not to memorize conceptual kn…… -
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…… -
Summary of several ways to create arrays in Java
1. Declaration method of one-dimensional array: type[] arrayName; Or type arrayname []; Note: the first format is reco…… -
Take MySQL as an example to explain the steps of JDBC database connection
1. What is JDBC? What does it do? Java Data Base Connectivity Is a Java API for executing SQL statements, which can pr…… -
On math. In Java Random () and Java util. The difference between random()
Today, I suddenly remembered that Java generates random numbers. I tried it on the computer and found a difference. I'…… -
Convert the first letter of a string to case in Java
Don't say much, just go to the code The above is all about using java to convert the initial letter of a string to cas…… -
Methods of creating and passing parameters of arrays in Java (learning summary)
(1) Array creation The creation of array includes two parts: the declaration of array and the allocation of memory s…… -
Conversion between byte array and int type in Java (two methods)
The conversion between byte array and int type in Java is the most basic algorithm in network programming. We all know…… -
Java syntax based operator learning notes sharing
1、 Operator Operators include the following: Arithmetic operator assignment operator comparison operator logical oper…… -
Stand alone version of bookstore management system of Java design module series (3)
introduce Today, a small bug of adding user input in series 2 was solved, adding user module, deleting user, and modif…… -
A simple method of exporting Excel files from Java Web
When doing system projects at ordinary times, you often need to do the export function, whether exporting Excel or exp…… -
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……