Recent Posts
-
Example of using nio2 to copy files in Java
This program is just created to make it easier to copy files (folders). 1. There is no need to create a new folder, wh…… -
Explain in detail the Shiro permission management and database design of spring integration
In the previous article, we completed the construction of the basic framework. Now basically all background systems ca…… -
The calendar API usage in Java is fully parsed
The first part introduces the definition of calendar: Calendar can be regarded as an abstract class. Its implementatio…… -
Java implementation reads large files by line
Java implementation reads large files by line Two popular while versions on Internet are unreliable Consider bufferedi…… -
Spring cloud Eureka ribbon service registration, discovery and invocation
summary Use a simple example to demonstrate the basic usage of Eureka and ribbon in spring cloud. Version and environm…… -
Spring boot JDBC connection database example
The text will introduce several database connection methods based on MySQL database in the web application built by sp…… -
In JSP, bean and servlet are used to realize user registration and login
Statement: original by the author, all rights reserved. Without authorization, it is not allowed to reprint in JSP, an…… -
Detailed explanation and examples of leap year judgment of Java interview questions
Java leap year judgment preface: Given a year, judge whether it is a leap year. This year is a leap year when one of t…… -
Cross domain introduction of spring MVC and CORS
1. Introduction to CORS The same origin policy is the cornerstone of browser security. Under the restriction of the sa…… -
Solve the problem of garbled character coding in Java EE development
There are many solutions to deal with character coding on the Internet. Here, I stand on the shoulders of predecessors…… -
Spring boot integrates the implementation method of mybatis using multiple data sources
preface This tutorial tends to be practical. The program ape directly adds the copy code to its own project and can be…… -
Method of Java dragging mouse to realize line drawing function
This example mainly realizes the function of dragging the mouse to draw lines in Java. In order to achieve the functio…… -
The most difficult Java interview question in history
The topics are as follows: The output of the program? Program output results or Investigate knowledge points In Java, …… -
Introduction to Java EE
Before we go into J2EE, let's take a look at the overview: Multi tier application - multi tier application (or multi t…… -
Spring security builds rest services to implement the remember me function
Spring security remembers my basic principles: When logging in, the request is sent to the filter usernamepasswordauth…… -
Detailed steps for deploying Java Web project to alicloud server
Record the steps of deploying a web project to alicloud server (using web project, alicloud server, xftp and xshell), …… -
Spring security4 sample code for adding verification code
Spring security is a large module. This article only involves the authentication of custom parameters. The default aut…… -
In depth interpretation of Java EE micro framework spring boot
preface As an important open source framework in the field of Java EE framework, spring framework plays a very importa…… -
Teach you how to integrate spring with flex eclipse
Download Flash Builder first_ 4_ 7_ LS10_ win64. Exe tried to install several eclipse plug-ins without success, includ…… -
Character encoding of controller in spring MVC
When building web applications using the spring MVC framework, clients often request data in string, integer, JSON and…… -
Java calendar (calendar of a year, calendar of a month) user-defined
You can print the calendar of a year by yourself, that is, print all the calendars of a year If the calendar of 2013 i…… -
Java folder copy instance code
Java folder copy instance code Here directly on the code, nonsense, very simple and practical. Example code: Thank you…… -
Method of using mongodb connection pool configuration in spring boot
Because today's development encountered performance problems, which may be related to the connection of mongodb, I too…… -
Create excel example with Java (JXL usage method)
Using this API, non windows operating systems can also process Excel data sheets through pure Java applications. Becau…… -
Java implementation reads the contents of TXT file
Let's start with an example After reading the above example, let's study it in detail Java reads the contents of TXT f…… -
Explain in detail how Android enables GridView to scroll horizontally
Android provides us with a vertical scrolling control GridView, but if we want it to scroll horizontally, we need to i…… -
Android custom image and text function
Android custom image and text function Write in four steps: 1. XML of combined control; 2. Customize the properties of…… -
Mutual conversion method between path address and URI of Android image file
The URI address of an Android file is generally as follows: content://media/external/images/media/62026 This is the UR…… -
Examples of timer and TimerTask timers and timed tasks in Java
These two classes are very convenient to use and can meet most of our needs for timers Timer class is a class used to …… -
Android install APK files and adapt to Android 7.0
Android install APK files and adapt to Android 7.0 First, in the androidmanifest.xml file, the activity peer node regi…… -
Detailed explanation and example code of Android viewpagerindicator
Detailed explanation and example code of Android viewpagerindicator Fragmentary knowledge about the properties of cust…… -
Simple implementation of Android local music player
To play music, you need to call service. Here, just sort out the playing process. The above is the whole content of th……