Tomcat source code compilation and operation [notes]
catalogue
1. Download source code
2. Decompress and prepare for compilation
3. Import IDE compilation source code
4. Configure the startup class and start the operation
1. Download source code
Download the source code from Tomcat's official website and find the path: home page of the official website → under [Download] on the left n ...
Posted by godyn on Sun, 06 Feb 2022 09:30:25 +0100
Phase I to phase III of the java book city project
JSP
JSP (full name JavaServer Pages) is a dynamic web page technical standard led and created by Sun Microsystems.
JSP deployed on the Web server can respond to the request sent by the client, dynamically generate Web pages of HTML, XML or other format documents according to the request content, and then return them to the requester. JSP te ...
Posted by auddog on Sun, 06 Feb 2022 09:19:03 +0100
web.xml configuration details
web.xml configuration
Root label
<?xml version="1.0" encoding="UTF-8"?>
<web-app xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns="http://java.sun.com/xml/ns/javaee"
xmlns:jsp="http://java.sun.com/xml/ns/javaee/jsp"
xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-app ...
Posted by env3rt on Mon, 31 Jan 2022 21:57:57 +0100
ServletContext introduction and Usage Summary
Reference article: https://blog.csdn.net/qq_36371449/article/details/80314024
***
1, Introduction to ServletContext
1. Concept
ServletContext is also called Servlet context. When the WEB container starts, it will create a corresponding ServletContext object for each WEB application, which represents the current WEB application. This o ...
Posted by lszanto on Mon, 31 Jan 2022 10:42:47 +0100
Several ways of Java serialization and the role of serialization
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
Tip: the following is the main content of this article. The following cases can be used for reference https://www.cnblogs.com/xiohao/p/4234184.html
1, The role of Java serializ ...
Posted by cal_biker on Thu, 27 Jan 2022 23:55:06 +0100
Configure https authentication for Tomcat server (use keytool to generate certificate)
Configure https authentication for Tomcat server (use keytool to generate certificate)
1, Certificate generation
1. Generate server certificate
(1) Open the command console and enter the bin directory of the jdk
(2)keytool generates a certificate for Tomcat ("- validity 36500" certificate validity, 36500 indicates 100 years, and ...
Posted by kaisaj on Mon, 24 Jan 2022 14:43:16 +0100
Jenkins+Maven+Git automatic deployment process (super comprehensive from environment construction to deployment)
Note: the function of this process is that as long as we upload the code to the GIT platform, we don't have to worry about it. jenkins can automatically publish our git original code compilation test deployment to the production environment. We don't have to pack the jar package ourselves every time and then pull it to the linux environment Jav ...
Posted by BLottman on Sun, 23 Jan 2022 05:05:25 +0100
Nginx+Tomcat load balancing, dynamic and static separation
catalogue
I. deploy Nginx load balancer
2, Deploy 2 Tomcat application servers
3, Dynamic and static separation configuration
4, Test effect
5, Nginx load balancing mode
6, Nginx four layer agent configuration
I. deploy Nginx load balancer
systemctl stop firewalld
setenforce 0
yum -y install pcre-devel zlib-devel openssl-devel gcc gcc ...
Posted by Guldstrand on Sun, 23 Jan 2022 00:13:34 +0100
Introduction to Java code audit and Java Web
0. Supplementary knowledge
After the back-end code is modified, the project will not take effect until the project is restarted Simple understanding of jsp: you can parse Java code in html pages. Dao layer: code that can directly interact with the database, that is, add, delete, modify and query. of course, dao The layer name is not n ...
Posted by landonmkelsey on Fri, 21 Jan 2022 14:57:54 +0100
SMBMS supermarket order management project
SMBMS
Basic architecture
database
Database architecture
[the external chain image transfer fails. The source station may have an anti-theft chain mechanism. It is recommended to save the image and upload it directly (img-vli3iozs-1626496921096) (C: \ users \ Hasee \ appdata \ roaming \ typora user images \ image-20210715140247552. PNG)]
...
Posted by webbyboy on Wed, 19 Jan 2022 05:29:36 +0100