Java
-
Struts 2 method of realizing permission control through custom tags
Recently, I encountered a demand in development: whether to display an operation button according to the user's permis…… -
Java implements a tool class instance that translates digital dates into English words
This example describes the Java implementation of the tool class to translate digital dates into English words. Share …… -
In mybatis analysis
When using mybatis, our SQL is written in the XML Mapping file. If there are some special characters in the written SQ…… -
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…… -
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…… -
Java calls 7zip to decompress an instance of the compressed package
preface Recent projects need to use the function of decompressing the package. The format of the compressed package gi…… -
An example of stack and queue in Java data structure
An example of stack and queue in Java data structure Stack and queue are two important linear data structures, which s…… -
Introduction to Hadoop components
Install HBase First download the latest stable version of HBase http://www.apache.org/dyn/closer.cgi/hbase/ file:///ho…… -
Typical case of java interface implementation
No more nonsense, go straight to the code The above typical case of java interface implementation is all the content s…… -
Detailed explanation of struts 2 using ognl to traverse map
I Code in action: mapaction java II Front end test page: testmap jsp Java code Attachment: the type of map is map <…… -
Detailed explanation of simple factory pattern of Java design pattern
Simple factory mode: a factory object determines which kind of instance to create. 1. Abstract class 2. Specific categ…… -
Analysis of exception handling mechanism in struts 2
Because an exception is thrown when the execute method of action is declared, we don't need to catch the exception in …… -
Java export JSON format file sample code
This article introduces the sample code of Java exporting JSON format files and shares it with you. The details are as…… -
Simple use of zookeeper in Java
1、 Fundamentals of zookeeper The data model is as follows: The structure of zookeeper data model is very similar to U…… -
Realization of positive film lamination effect in java image processing tutorial
preface This article mainly introduces the method of how to realize the positive film stacking effect by using Java, a…… -
Spring security custom decision Manager
First, introduce the decision manager of spring. Its interface is accessdecisionmanager and its abstract class is abst…… -
On the scope of request, session and global session in spring learning
For the scope related to the web container, first configure it in the web container. Request scope Consider the follow…… -
On the running mechanism and error analysis of Java program
JVM (Java virtual machine) a specification for computing devices that can be implemented in different ways (software o…… -
Java method of uploading and downloading files through httpurlconnection
This paper introduces the method of uploading and downloading files through httpurlconnection in Java and shares it wi…… -
Detailed explanation of Java layering concept
Service is the business layer The action layer acts as the controller Dao (data access object) data access 1. What is …… -
Detailed explanation of three simple implementation methods of Java countdown
After writing JS countdown, I suddenly want to use java to realize the countdown. I wrote three implementation methods…… -
Internationalization of spring security and configuration and use of usercache
International configuration The path of the message file is configured in basename In spring-security-core-3.2 0.M1. O…… -
Detailed examples of Java design pattern (DAO)
Detailed examples of Java design pattern (DAO) Application scenario: in Java programs, it is often necessary to persis……