Java Web: Filter
1, What is a filter
1. Filter is one of the three major components of Java Web. The three components are: Servlet program, Listener listener and filter filter
2. Filter is a Java EE specification. That is, the interface.
3. The function of Filter is to intercept requests and Filter responses.
Common application scenarios:
1. Permission che ...
Posted by azaidi on Tue, 18 Jan 2022 15:33:29 +0100
Lambda Interpreter_ Lambda Interpreter
Code reference:
200 lines of JS code to implement lambda interpreter
PP boss code
Interpreter construction
A lambda interpreter is mainly composed of the following aspects:
Lexer: decomposes character stream into token streamParser: build an abstract syntax tree AST by using the symbol stream according to the syntaxSyntax Interpreter / syn ...
Posted by nonlinear on Tue, 18 Jan 2022 12:03:34 +0100
Tomcat source code analysis - startup of Container
1. Start process of Container
stay Tomcat source code analysis (1) - structure composition and core components In, the author analyzes the general composition of Tomcat. The Container container is a core component strongly related to the upper business logic, and is divided into four levels. During the startup of tomcat, the startup proces ...
Posted by jlive on Sat, 15 Jan 2022 07:24:53 +0100
java - servlet life cycle
1.Servlet life cycle
Servlet has no main() method and cannot run independently. Its operation is completely controlled and scheduled by servlet engine. The so-called life cycle refers to the whole process of when the servlet container creates a servlet instance, when it calls its methods to process requests, and when it and destroys its instan ...
Posted by burnside on Wed, 05 Jan 2022 23:36:06 +0100
Install redis, nacos, tomcat, JDK and nginx under Linux, and deploy the front-end and back-end separated project running environment
This paper mainly records how to build a system running environment under Linux environment, mainly using redis, nacos, tomcat, JDK and nginx
Tip: the following is the main content of this article. The following cases can be used for reference
preface
Download the compressed package first Link: https://pan.baidu.com/s/1a3y3sKzP0fTddD ...
Posted by mepaco on Tue, 04 Jan 2022 03:30:25 +0100
How does Spring Boot start embedded Tomcat?
Spring Boot internally starts an embedded Web container. Tomcat is a component-based design, so it is to start these components.
The Tomcat independent deployment mode is started through the startup script. The Bootstrap and Catalina in Tomcat are responsible for initializing the class loader and parsing the server XML and start these compo ...
Posted by VenusJ on Tue, 04 Jan 2022 03:06:09 +0100
HTTPS configuration for personal websites
I brief introduction
In fact, I didn't want to write this, but after the domain name was filed yesterday, I configured https for a long time. It's really urgent. There are so many cheating tutorials on csdn. I've taken a lot of detours. While I still remember now, I'll record it. It may also be used later. After writing this article, I'll be r ...
Posted by trippyd on Mon, 03 Jan 2022 23:52:59 +0100
Request parameter processing in spring MVC
Main knowledge points
The servlet API gets the request parameters using request getParameter("xxx")In spring MVC, you only need to declare the parameter with the corresponding name in the processing method to automatically match the parameter passed in by the request and perform the corresponding type conversion (the servlet API also ...
Posted by usefulphp on Mon, 03 Jan 2022 23:26:34 +0100
How Tomcat loads Spring, Spring MVC and Servlet
summary
Do you know how Tomcat loads Spring and Spring MVC? Today we'll figure out the process (record the most critical things)
It will involve large and small knowledge, including design patterns during loading, Servlet knowledge, etc. you must gain something after rea ...
Posted by Otiose Dodge on Mon, 03 Jan 2022 12:15:19 +0100
4W words + thousands of lines of code! Tomcat penetration test method summary, bring it to you!
catalogue
preface
install
Tomcat analysis
Main documents
Upload directory
Tomcat penetration
Tomcat arbitrary file write (CVE-2017-12615)
Tomcat remote code execution (CVE-2019-0232)
Tomcat weak password & background getshell vulnerability
Tomcat manager App brute force cracking
Tomcat AJP file contains vulnerability analysis (CV ...
Posted by live_ex3me on Mon, 03 Jan 2022 11:34:46 +0100