Java automatic login function and remember user name function

... In these two functions, you need to use coolie technology, bring the required user name or password to the browser, realize the record of user name and password, and then Complete the desired function. First, the automatic login function background code 1.1, the code in the background...


Log4j+slf4j set up

... to build maven project, I built the jar version of maven add log4j and slf4j maven dependencies: <!--log start--> <dependency> <groupId>log4j</groupId> <artifactId>log4j</artifactId> <version>${commons.log4j.version}</version> <...


Chapter 7 SpringMVC build WEB application

... Spring MVC request flow: 第一:Initiate request to 前控制器 (DispatcherServlet) 第二步: Front-end controller request HandlerMapping 找 Handler can be searched according to xml configuration, annotation third step: processor mapper HandlerMapping returns to the front controller Handler 四步: front...


From the entry to the abandonment of

... as a socialist aspiring youth, today, I saw the bedroom and began to brush leetcode, and suddenly let the younger brother discover the New World, which did not start. Not much to say, pick up your sleeves and dry. package leetcode; Import java.util.ArrayList; Import java.util.List;...


Android 8.0 SystemUI started

... recently learned the contents of SystemUI, on the Internet to find related sources to learn. The following is summarized as a recent record. In-depth understanding of SystemUI SystemUIService startup SystemUI Most of the functions are independent of each other. More specific are the...


(Easy and easy to understand) Use Spring MVC to build Hello world

... Spring MVC service flow diagram Spring MVC components and processes First, before using Spring MVC, we have to make clear that Spring MVC is a kind Based on Servlet technology, it provides the core controller DispatcherServlet and related components, while Spring MVC works around the...


JDK11 JEP321: HTTP Client (Standard) Detailed + demo

... 一· Background Description Introduced HTTP client standardization from jdk9, started to update in jdk10 according to user feedback, with significant improvement, the usage is basically maintained constant. Non-blocking requests and responsives are provided through CompletableFutures....


Java Mail Send - Amazon Simple EMail Service (SES) as SMTP Server

... Summary for two points: 1. Log in to AWS and go to the console, then click SMTP Settings to create an SMTP account: Create My SMTP Credentials, follow the prompts to generate username and password, which looks like the key of IAM User. 2.Verify the sending email address, and if it is...


Operation https server request

... There are some servers that must use the https secure access mode, such as small program development, all need to turn our server into https access. The steps are as follows: 1. First apply for a free security certificate under the domain name. Run the following command in the...


Reflection

... Class --> This class is used to manipulate the properties, methods, and constructors of a class. Cn.tx.Person Person :name,age,address getClass() --> obj method, return class object Field class: abstraction of class attributes Method class: abstraction of class methods Constructor...