Java
-
Servlet + JavaBean + JSP create Java Web registration and login function
The MVC structure diagram implemented by java web is as follows, in which the controller part is implemented by servle…… -
Summary of examples of how to realize page Jump in JSP and Servlet
This paper summarizes the methods of page Jump in JSP and servlet. Share with you for your reference, as follows: Supp…… -
Three methods of submitting form data with spring boot resttemplate
In the design of rest interface, using resttemplate for interface testing is a common method, but in the process of us…… -
Mybatis generates execution statements through JDBC data driver
Most of our programming process uses excellent ORM frameworks, such as mybatis, hibernate and spring JDBC, but these a…… -
Spring MVC uses Ajax to pass an object to the controller
preface Recently, I was writing a project based on spring MVC + Spring + mybatis, which involves the function of sendi…… -
Implementation example of authentication and authorization based on oauth2 under spring cloud
In spring cloud, oauth2 needs to be used to realize the unified authentication and authorization of multiple micro ser…… -
Method of building Eureka application with spring cloud
Introduction to Eureka Eureka provides rest based services, which are mainly used for service management in the cluste…… -
Spring MVC + bootstrap file upload example (with progress bar)
Recently, I learned bootstrap, combined with spring MVC, wrote an example of file upload, left it for notes, didn't ta…… -
Examples of several ways for JavaScript and JSP to send requests to servlets
There are five ways to submit JavaScript to servlet: There are six ways to submit JSP to servlet: -
How to read XML files in Java
Today's CSDN FAQ explains how to read the contents of XML files in Java. Directly on the code, the comments are writte…… -
Using java to realize HTTP multithreading breakpoint download file (1)
Basic principle: use urlconnection to obtain the length, header and other relevant information of the file to be downl…… -
Java method of screen broadcasting by controlling mouse
This paper describes the method of screen broadcasting in Java by controlling the mouse. Share with you for your refer…… -
JDK 7 new features summary example code analysis
1. Switch supports string as a parameter Switch enumeration support 2. Improvement of digital literal quantity 2.1. Be…… -
Common usage examples in Java 8 time and date library
Someone asked me what is the best way to learn a new library? My answer is to use it in real projects. In a real proje…… -
Detailed introduction of httpservlet based on JSP
Httpservlet first review the class structure diagram mentioned in the previous section: There are two methods commonly…… -
Analysis of spring security verification process and custom verification method
The essence of spring security Spring security is essentially a series of filters, which are then inserted into the fi…… -
Simple encapsulation of Alibaba cloud message queue using java
1、 Foreword Recently, the company needs to use Alibaba cloud message queue. In order to make it easier to use, I spen…… -
Detailed explanation of mouse event design in java graphical programming
The event source of mouse events is often related to the container. Mouse events will occur when the mouse enters the …… -
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…… -
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…… -
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…… -
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…… -
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…… -
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…… -
Java folder copy instance code
Java folder copy instance code Here directly on the code, nonsense, very simple and practical. Example code: Thank you…… -
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…… -
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…… -
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…… -
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 implementation reads large files by line
Java implementation reads large files by line Two popular while versions on Internet are unreliable Consider bufferedi…… -
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…… -
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……
