Java
-
Implementation method of converting jar file into exe installation file
1. You should know whether the target file is 32-bit or 64 bit. If 32-bit is generated, you should use 32-bit JRE. If …… -
Java uses regular expressions to filter HTML tags
Some time ago, when developing, you should read the introduction of an article (that is, the first 200 characters). If…… -
Java method instance for reading and writing windows shared folders
Projects often need to access shared folders, such as shared folders to store photos, files, etc. So how to use java t…… -
Implementation method of uploading and receiving files using httpurlconnection
As follows: The above implementation method of uploading and receiving files using httpurlconnection is all the conten…… -
Output an instance of JSON data in action in the form of struts 2
The following is the complete code of the whole action: Complete struts The XML configuration file is as follows: The …… -
JSON for Java quick start summary
1、 JSON introduction JSON (JavaScript object notation), similar to XML, is a data exchange format. For example, if Ja…… -
Calculator implementation code of simple practical case of Java object
For the use of objects, attributes and methods in Java, a simple case is written Here are some effects on the console:…… -
Implementation of mybatis Oracle autoincrement sequence
The code of mybatis Oracle autoincrement sequence is as follows: Resulttype = "int" returns an int type Keyproperty as…… -
Talk about java reflection
The java reflection mentioned this time involves a lot of code. Because reflection is often used in work, a lot of abs…… -
There is a problem with Java. Javax servlet. http. Httpservlet was not found solution
javax. servlet. http. HttpServlet was not found: Recently, I found this javax servlet. http. The problem of httpservl…… -
Method for converting object bean and dbobject to each other when operating mongodb with Java (recommended)
As follows: The above is all the contents of the method (recommended) of mutual conversion between object bean and dbo…… -
Reflection mechanism and application scenario of java learning
preface: *** Version x or retrofit, and the early view annotation framework all use java reflection mechanism more or …… -
Sending mail for JavaMail tutorial (3)
The JavaMail API defines a Java mail. Transport class, which is specially used to perform mail sending tasks. The inst…… -
Log4j implementation method of outputting logs to different files by level
As follows: The above is all about the implementation method of log4j outputting logs to different files by level. I h…… -
Detailed explanation of MySQL storing Java object instances
MySQL stores Java objects MySQL sets the field to blob To save an object, first serialize the object as byte [] and us…… -
Handling method of exception when gson parses empty string
preface In actual development projects, the server often uses the empty string "" as the return result to represent th…… -
Method for deleting specific elements in ArrayList loop of Java collection class
In project development, we may often need to dynamically delete some elements in ArrayList. One wrong way: The above m…… -
Method of realizing Base64 encoding and decoding in Java
Base64 and other similar coding algorithms are usually used to convert binary data into text data, which is designed t…… -
Java Web realizes online payment function
1. Overview of online payment What is online payment? Yes, it's spending money online! You must have had such an exper…… -
Java WeChat payment official account payment, scan code payment example
Wechat payment has become more and more popular, and then there are many products that can quickly access wechat payme…… -
java. util. concurrent. Solution to executionexception problem
java. util. concurrent. Executionexception error message. The solution is given here. You can change it according to s…… -
Detailed explanation of singleton pattern in Java
Concept of singleton mode: Singleton pattern is a common design pattern in Java. There are three kinds of singleton pa…… -
Summary of experience and experience of calling wechat cash red envelope interface with Java
After reading the blog about wechat payment written before these days, many people still read it. After reading the me…… -
Java converts the effective length in byte into string instance code
Generally, we use byte to receive the read data. If the data does not reach the size defined by byte, we will directly…… -
Detailed explanation of calling MySQL stored procedure in Java implementation
preface Stored procedure is stored in the database and called again after the first compilation. It does not need to b…… -
Spring type conversion conversionservice converter parsing
Take string to date as an example: Define converter: To configure spring: The above is the spring type conversion conv…… -
Summary of wechat development agreement
1. The published message corresponds to an ID (as long as a single direction is unique, the server may judge repeated …… -
Java query all tables of Oracle database databasemetadata usage (detailed explanation)
I Get an instance of this object II Method gettables usage Prototype: This method can return the result set resultset,…… -
Summary of seven common uses of Java enumeration (must see)
Usage 1: constant At jdk1 Before 5, we defined constants as: public static fianl. Now, with enumeration, you can group…… -
Spring reports an error: the prefix “context” of the element “context: component scan” is not bound. Solve the problem
An error is reported in the spring configuration file: the prefix "context" of the element "context: component scan" i…… -
Construction and validation of Java and Ceylon objects
When transforming java code into Ceylon code, I sometimes encounter situations where some Java class constructors conf…… -
The imitation of Java Web development knows the complete code of the home page
Having nothing to do, I wrote down the simulation with reference to some materials according to the home page of Zhihu……
