Java
-
Java is a simple instance of reading and outputting from a file
Input with scanner and output with printstream Function: from in Txt read in and output to out txt code: Same as below…… -
Struts 2 static resource mapping code example
In the struts 2 framework, there are some common static content that it needs, such as JS files and some CSS files. Wh…… -
Solve problems encountered in Java wrapper class comparison
preface This article mainly introduces the solutions to some problems encountered in the comparison of Java packaging …… -
Summary of commonly used hash algorithms in Java [classic examples]
This paper describes the commonly used hash algorithms in Java. Share with you for your reference, as follows: For mor…… -
Spring boot + drools rule engine integration details
objective Most of the official drools examples are based on pure Java projects or Maven projects, while few are based …… -
Explain the essential difference and relationship between hashcode () and equals ()
In the process of learning Java and making examples according to videos, I have a deeper understanding of the two meth…… -
Java API of HBase access mode
Access mode of HBase 1. Native Java API: the most conventional and efficient access method; 2. HBase shell: the comman…… -
Graphic tutorial for building Java runtime environment
1. Build a Java running environment. For beginners, you can mainly download and install JDK, and the windows operating…… -
Servlet download file implementation code details (V)
This example shares the specific code of servlet download file for your reference. The specific contents are as follow…… -
Detailed explanation of Java enumeration usage
In actual programming, there are often such "data sets", their values are stable in the program, and the elements in t…… -
How Java uses reflection to find classes using specified annotations
preface I'm a little empty recently. I want to write an annotation like the annotation in spring, and then I hope to f…… -
Struts 2 configuration static resource code details
The struts 2 framework has two core configuration files: struts XML and struts 2 default properties file default Prope…… -
Servlet forwarding, including detailed explanation (VII)
This paper introduces servlet forwarding and servlet inclusion for your reference. The specific contents are as follow…… -
On guard thread and user thread in Java
Java threads are divided into two types: daemon threads and user threads (user thread), the main function will be call…… -
Fetch = fetchtype in hibernate Lazy lazy loading failure handling method
For this lazy loading problem, the final approach is to use a hibernate support class provided by spring. Its main mea…… -
Struts 2 realizes projection through ognl expression
Projection: as the saying goes, it is filtering, that is, the filter filters out the qualified ones struts. xml: OgnlA…… -
Java implementation of wechat applet login status maintenance example code
I believe many friends who like development already know what kind of wechat applet is. The landlord has been paying a…… -
Implementation method of eclipse automatic prompt and automatic completion function
Solve the automatic prompt problem of code: 1. Open eclipse - > window - > preferences 2. Find the content assis…… -
Explain in detail the difference between spring boot deployment jar and war
This article introduces the differences between spring boot deployment jar and war and shares them with you as follows…… -
Maven configuration in windows and project creation instance in IDE
Maven configuration under Windows 1. Maven download address: http://maven.apache.org/download.cgi , download the versi…… -
Solve the problem that spring MVC multi data source switching does not support transaction control
A project needs to use two databases, Oracle and MYSQL, so refer to various blogs to realize this function. After writ…… -
On Java fork / join parallel framework
Preliminary understanding of fork / join framework Fork / join framework is a parallel task framework added to java7. …… -
Example of inverse matrix algorithm implemented in Java
This paper describes the inverse matrix algorithm implemented in Java. Share with you for your reference, as follows: …… -
DES encryption and decryption tool class instance implemented in Java
This article describes the DES encryption and decryption tool class implemented in Java. Share with you for your refer…… -
Java implementation to construct infinite hierarchical tree menu
Here, let's talk about how the background Java constructs a multi tree, so that the foreground can receive data and re…… -
Installation of java9 learning series and use of jshell
preface With the update of the standard Java version, developers can always get the desired functions from the upgrade…… -
Java example of reading web page content
Java example of reading web page content The above code program reads the source code of a web page, including HTML an…… -
Java9 Learning Series how to run java9 in docker
Preface @ h_ 419_ 5@ This article will give you a detailed introduction to how to run java9 in docker, and share it fo…… -
Struts 2 dynamic result set code example
The dynamic result set can specify the page to jump to in the action (${} is an ojnl expression, not an EL expression)…… -
Java polymorphism definition and usage examples
This article describes the definition and usage of Java polymorphism with examples. Share with you for your reference,…… -
Spring boot custom 404 error message method example
preface This article will give you a brief introduction to how to personalize 404 error information in springboot and …… -
Method of converting excel table into JSON by Java
Today, a friend of mine asked me if there was any way to use Excel and JSON everywhere. I found several tools on the I……