Java
-
Explain the implementation mechanism of spring MVC dispatchservlet in detail
In spring, contextloaderlistener is just an auxiliary class. When the web container starts, it finds and creates a web…… -
Usage of mongodb in spring boot project
preface As we all know, MySQL database is easy to use, but the amount of data is more than ten million. It is very pai…… -
How to use transactionattributes in spring configuration
Recently, I encountered this problem. When using the jpatemplate provided by spring for query, if the amount of data e…… -
Thoughts on Java enterprise project development
What is enterprise project development "Enterprise level project", enterprise level project development, and Java is a…… -
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…… -
Solution to the problem that struts and servlet cannot coexist
In a project, if we use both struts 2 and servlet, we may not be able to access the servlet normally when the project …… -
Java takes methods as parameters — instances of polymorphism
When studying the intelligent algorithm in the previous paragraph, I found that if it is implemented in Java, the spec…… -
Introduction to struts 2 intercepting string code
During development, we often encounter the problem that the string is too long and needs to be intercepted and display…… -
Spring and mybatis integration profile
Recently, because the project requires the integration of Spring + mybatis architecture for project development, the r…… -
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……