Java
-
***
Blob (binary large object), a binary large object, is a container that can store binary files. In the computer, blob i…… -
Java sending httpclient request and receiving request result
I 1. Write an httprequestutils tool class, including post request and get request 2. Write business code and send HTTP…… -
JavaWeb can only log in at one place at a time with the same account (similar to QQ login function)
JavaWeb realizes that one account can only log in at one place at a time (similar to QQ login function). The implement…… -
Shopping Cart module of Java Web Book Mall Design (3)
This article continues to share the shopping cart module in Java Web Book Mall for your reference. The specific conten…… -
Summary and difference between JDBC transaction and JTA distributed transaction in Java
There are three types of Java transactions: JDBC transactions, JTA (Java transaction API) transactions, and container …… -
POI reading of Excel custom date format (example code)
Reading Excel data with POI: (version No.: poi3.7) @H_ 404_ 4@1 , read Excel @H_ 404_ 4 @ 2. Excel data processing: Th…… -
Summary and solution of garbled code in Java
Garbled code in Java In recent projects, we often encounter the problem of garbled code in Java, so we took time to so…… -
Java send HTTP post request instance code with basic auth authentication
Construct HTTP header Old way: Httpclient mode The above example code of HTTP post request sent by java with basic aut…… -
Solution to Chinese garbled code when Java reads the properties configuration file
As follows: The above is what Xiaobian brought to you. When reading the properties configuration file in Java, the sol…… -
A variety of algorithms for generating sampling random numbers in Java
This chapter first explains several ways of generating java random numbers, and then demonstrates them through example…… -
Java is a simple method to get the header and body of HTTP request
In HTTP requests, there are header and body, and request is used to read header getHeader("..."); Read the body and us…… -
POI reading of Excel custom date format (example code)
Reading Excel data with POI: (version No.: poi3.7) @H_ 404_ 4@1 , read Excel @H_ 404_ 4 @ 2. Excel data processing: Th…… -
Java Web realizes QQ login function. One account can only be logged in by one person at the same time
For an account, only one person can log in at the same time, which can be realized by the following methods: 1. When t…… -
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…… -
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 …… -
Stand alone version of bookstore management system of Java design module series (2)
Java stand alone bookstore management system (exercise design module and idea series I): http://www.jb51.net/article/9…… -
Method of converting Java string into double two-dimensional array
WHY A friend asks for a question in the group. The prototype of the question is as follows: That is, a string that can…… -
Methods of JavaBean and map transformation encapsulation classes
Examples are as follows: The above is all about the methods of JavaBean and map conversion and encapsulation classes b…… -
Java wechat random red envelope algorithm code example
One night a few days ago, I suddenly thought that there should be a random algorithm for wechat red envelopes. I tried…… -
8 simple parts to open the road of Java language learning, with java learning book list
I have recommended reading books on Java language for you. Here are some aspects to start learning java language. The …… -
Introduction to the differences between Java abstract classes and interfaces
The difference between abstract classes and interfaces abstract class A class containing abstract methods is an abstra…… -
Detailed explanation of the exchange example between JSON string and Java object in Java
During the development process, it is often necessary to exchange data with other systems. The formats of data exchang…… -
Summary of three types of array defined by Java
The three formats for defining arrays are as follows: Note: the length of the array is an attribute, and the length ()…… -
Java implements multithreading in two ways: inheriting the thread class and implementing the runnable interface
What is the difference between implementation and inheritance@ H_ 404_ 5@ *Difference: @ h_ 404_ 5@ *Inherit thread: t…… -
Implementation of 16 bit and 32-bit MD5 encryption of string under Java programming
As follows: @ h_ 404_ 3@ -
Method of querying data from database using JDBC
*Resultset result set: encapsulates the results of queries using JDBC * 1. The result set can be obtained by calling t…… -
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……