JavaWeb -- Servlet1 (idea creates Servlet project)

1. What is a Servlet 1. Servlet is one of the Java EE specifications. A specification is an interface 2. Servlet is one of the three major components of Java Web. The three components are: servlet program, Filter filter and Listener listener. 3. Servlet is a java applet running on the server. It can receive the request sent by the client and re ...

Added by xenoalien on Tue, 08 Feb 2022 23:54:56 +0200

CVE-2020-1938 loophole recurrence (EXP code is attached at the end of the text)

CVE-2020-1938 Apache Tomcat file contains a duplicate vulnerability 1. Environmental construction 1.1 Vulhub target aircraft construction 1.1.1 environmental installation (1) Install docker $ curl -fsSL https://get.docker.com | bash -s docker --mirror Aliyun (2) Install docker compose $ pip install docker-compose #If there is no pip, ...

Added by purplenewt on Mon, 07 Feb 2022 12:54:23 +0200

Tomcat deployment and virtual host configuration and optimization

Introduction to Tomcat 1. Free, open source Web application server2. The Apache Software Foundation is a core project of the Jakarta project3. It is jointly developed by Apache, Sun and some companies and individuals4. It is deeply loved by Java lovers and recognized by some software developers5. The popular Web application server Tomcat ...

Added by barney0o0 on Wed, 02 Feb 2022 21:27:27 +0200

The spring MVC annotation starts the servlet

Tip: after the article is written, the directory can be generated automatically. Please refer to the help document on the right for how to generate it preface Learning record: understanding of tomcat Tip: the following is the main content of this article. The following cases can be used for reference 1, XML configuration Servlet Co ...

Added by ravravid on Wed, 02 Feb 2022 11:05:26 +0200

Detailed explanation of Tomcat server configuration in Linux Environment

Detailed explanation of Tomcat server configuration in Linux Environment Tomcat server is a free open source Web application server. Tomcat runtime occupies small system resources, has good scalability, supports load balancing, mail service and other functions commonly used in developing application systems. Tomcat is a small lightweight a ...

Added by snaack on Thu, 27 Jan 2022 23:12:30 +0200

Spring Boot implementation consistency Session application instance

Initialize project 1. Create a new Spring Boot project, add web by default, and wait for the completion of the construction. After the completion, the directory structure is as follows: . ├── HELP.md ├── login-session-demo.iml ├── mvnw ├── mvnw.cmd ├── pom.xml ├── src │   ├── main │   │   ├── java │   │   ├── resources │   │   └── webapp │   ...

Added by anon_login_001 on Wed, 26 Jan 2022 21:30:09 +0200

Java carries certificates to access Https, Keytool+Tomcat implements SSL two-way authentication

Keytool+Tomcat for two-way SSL authentication 1. Introduction to SSL Reference Blog: Https One-way Authentication and Two-way Authentication SSL(Secure Sockets Layer Secure Sockets Layer) is a protocol (specification) that ensures the security of client-side and server-side communications so that information transmitted during communication i ...

Added by glowball on Wed, 26 Jan 2022 09:50:22 +0200

IDEA2020 create a jsp +Servlet web project

IDEA2020 create a jsp +Servlet+Tomcat web project Part I java environment variable configuration & servlet environment configuration java 11 download address https://www.oracle.com/java/technologies/downloads/#java11-windows Tomcat download address https://tomcat.apache.org/ JAVA part There are many tutorials for java jdk installat ...

Added by Farside on Wed, 26 Jan 2022 09:08:15 +0200

Java Web foundation of full stack learning

java,web 1. Basic concepts 1.1 Preface web development: Web means web pageStatic web html cssThe data provided to everyone will never change Dynamic web Everyone sees different information at different times and placesTechnology stack: Servlet/Jsp, Asp, PHP In java, the technology of dynamic web resource development is called ja ...

Added by Tokunbo on Wed, 26 Jan 2022 01:20:47 +0200

Principle analysis of embedding Tomcat in SpringBoot

Spring boot embedded Tomcat principle Embedded Tomcat startup principle First, come to the place where the SpringBoot project is started, that is, the configuration class @SpringBootApplication public class InakiApplication { public static void main(String[] args) { SpringApplication.run(InakiApplication.class, args); } } ...

Added by crazy8 on Tue, 25 Jan 2022 12:07:18 +0200