2 - vulnerability analysis - tomcat AJP protocol file contains vulnerability analysis [CVE-2020-1938]
Vulnerability Description:
tomcat is a small and medium-sized Java EE server developed by Apache organization. It implements Java EE specifications such as servlet and JSP, and can provide web resource access services. tomcat mainly provides two communication modes to access web resources: http protocol and AJP protocol.
The tomcat server wil ...
Posted by genom on Mon, 03 Jan 2022 09:47:55 +0100
Working principle analysis of high performance service middleware Tomcat
IX. spring integrates tomcat core
9.1 core ideas
We may have questions. Both the spring MVC framework and the spring boot framework need to embed a Tomcat service middleware. Of course, it may also be Jetty. Since this article mainly talks about tomcat, we should ask what Tomcat did when it was started?
<web-app>
<listener>
...
Posted by vestax1984 on Mon, 03 Jan 2022 00:44:50 +0100
Send mail with JavaMail
I Mail protocol:
Sending and receiving mail has the same mail transmission protocol as HTTP protocol
SMTP: (Simple Mail Transfer Protocol) POP3: (Post Office Protocol Version 3) mail receiving protocol IMAP: (Internet Message Access Protocol)
II Mail sending and receiving diagram
1. Send mail to the same mail server (163 mailbox example): ...
Posted by wenquxing on Fri, 31 Dec 2021 06:22:01 +0100
Servlet from concept to practice
JAVAweb
6, Serverlet
1. Introduction to Servlet
Servlet is a technology for sun company to develop dynamic websun provides an interface called Servlet in these APIs. If you want to develop a Servlet program, you only need to complete two steps:
Write a class to implement the Servlet interface;Deploy the developed java classes to the w ...
Posted by hamza on Thu, 30 Dec 2021 18:31:59 +0100
Installing Archiver Appliance under CentOS7
1, Software installation
1.1 MySQL installation
Download the installation package mysql-8.0 23-1. el7. x86_ 64.rpm-bundle. tar. gz. After decompression, the installation process shall be carried out in the following order: (1) mysql-community-common[dongxw@localhost mysql]$ sudo rpm -ivh mysql-community-common-8.0.23-1.el7.x86_64.rpm
(2) My ...
Posted by vishal99 on Tue, 28 Dec 2021 18:06:34 +0100
Spring MVC unified exception handling
Spring MVC unified exception handling
In spring MVC application development, whether it is the operation of the underlying database, or the operation of the business layer or the control layer, it is inevitable to encounter all kinds of predictable and unpredictable exceptions to deal with. If each process needs to handle exceptions separately ...
Posted by stevehaysom on Sat, 25 Dec 2021 06:00:53 +0100
Linux installation jdk and Tomcat
Linux installation jdk and Tomcat
1. Install jdk
1. View the JDK package that comes with the system
Command: rpm-qa | grep Java
Delete the three packages pointed at by the arrow
Delete native JDK Command: rpm-e --nodeps +package name Screenshot shows that it has been deleted
3. Install jdk Create a folder to load the jdk package in th ...
Posted by Warptweet on Thu, 23 Dec 2021 09:53:07 +0100
Section 4. Servlet Technology
Servlet, features and lifecycle
Servlet is a server-side application written by Java classes. It is usually a program running on the server side. You can call one by opening the browser. It can be regarded as an intermediate layer between the client and the server, which is responsible for receiving and requesting the response of the cl ...
Posted by stalione on Tue, 21 Dec 2021 19:21:33 +0100
java implementation of web project blog management system
Blog system
The front page is based on html+css+js
The back-end implementation is based on servlet +themthefe
1. Demand analysis
Before software development, first analyze the requirements. Understand what needs to be achieved
Functions to be realized by blog system:
1. Be able to display the current blog list Blog list page, showing a lo ...
Posted by xydra on Sun, 19 Dec 2021 21:55:10 +0100
Chapter 5 - deploying Tomcat and its load balancing (application linux protection and clustering)
General catalogue of phase III link
catalogue
I. deploy Tomcat
(1) Introduction to Tomcat
(2) Application scenario
(III) cases
1. Preparation
2. Install JDK
3. Installing and configuring Tomcat
4. Tomcat related instructions
5. Description of Tomcat main configuration file
6. Establish a java web site
2, Nginx+Tomcat load balancing ...
Posted by davidohuf on Fri, 17 Dec 2021 16:15:30 +0100