First Java Web application (configuration of Maven and Tomcat)
How is the website accessed?
1. Enter a domain name and press enter
2. Check whether there is this domain name mapping under the C:\Windows\System32\drivers\etc\host configuration file of this machine;
① Yes: directly return the corresponding IP address. In this address, there are web programs we need to access, which can be accessed directl ...
Posted by ybinds on Sun, 05 Dec 2021 21:37:47 -0800
tomcat entry to mastery
1, Tomcat Foundation
1.1.Tomcat Foundation
Tomcat It's essentially a Servle(Color is) Container, therefore Catalina(Katarina) is Tomcat Core of , Other modules are for Catalina(Katarina) Provide support. such as : adopt Coyote (k The module provides link communication, Jasper(Jasper) Module provision JSP Engine, Naming provide JNDI Servic ...
Posted by lc on Sun, 05 Dec 2021 11:23:07 -0800
Linux Mysql advanced statement
catalogue
Linux Mysql advanced statement
1, SQL advanced statement
Import file to database
select
distinct
where
And and Or or
in
between
like wildcard
order by
function
Aggregate function
replace
concat
substr
group by
having
alias
join query
inner join
...
Posted by IchBin on Sun, 05 Dec 2021 01:11:11 -0800
Build a Web server in 3 minutes -- Java Spring Boot + MySql + Android App
Personal Taobao store link Partners in need can click here
1 Preparation
(1) Download the official website of tomcat, unzip it to / Library, start the Tomcat server, and the official website of Tomcat appears; (2) When downloading MySql, the Mac should not download the latest version, because MySql cannot be opened in the system preferences. ...
Posted by LiveFree on Sat, 04 Dec 2021 22:14:02 -0800
Tomcat source code analysis | multi graph analysis of the start process when Tomcat starts (including the application start process in the container)
Tomcat source code analysis - startup
The source code of this article comes from Tomcat 8.5.33
The reference cited in this paper is Tomcat architecture analysis - Liu Guangrui
Note: This article is a serial article. You can refer to the previous article class loader initialization and the subsequent article processing requests
...
Posted by AnAmericanGunner on Tue, 30 Nov 2021 18:10:32 -0800
Chapter 2 xml Technology
Chapter 2: xml, http protocol, tomcat 1.XML 1.1 XML overview 1. What is xml: English Extensible MarkUp Language.
Extensible markup language: markup in xml is extensible.xml version number 1.0, 1.1 xml usage: it is used to store data1. As the format of data transmission between systems2. As the configuration file of the project3. Save data with ...
Posted by Drewser33 on Sat, 20 Nov 2021 02:38:28 -0800
Upload, download and build maven private server
Basic use, upload and download of private server
Why build a private server
The network speed is slow, it takes a long time to download jar packages, and the work efficiency is low
It is not conducive to the management and maintenance of public construction
The jar packages developed in the company can only be shared and managed by the comp ...
Posted by wpt394 on Wed, 17 Nov 2021 07:10:45 -0800
Nginx --- dynamic and static separation
Nginx and Tomcat deployment
We all know that Nginx has very high performance in high concurrency scenarios and processing static resources, but in actual projects, in addition to static resources, there are background business code modules. Generally, background business will be deployed on Web servers such as Tomcat, weblogic or websphe ...
Posted by snowdog on Wed, 10 Nov 2021 13:38:56 -0800
Application of cookies and sessions
Application of content Cookie and Session
Servlet common objects
ServletConfig: static dataServletContext: shared static data. Share dynamic data. Share file data.HttpServletRequestHttpServletResponseresponse.setContentType("text/html");response.setCharacterEncoding("utf-8");response.sendRedirect("ServlectDengLu");
>>Reply management ...
Posted by pistolfire99 on Wed, 27 Oct 2021 07:46:50 -0700
Making Dockerfile for Tomcat
Next, I will write a Dockerfile of Tomcat to build a Docker image, start a Tomcat container based on the image, and finally try to deploy a test project in the middle of the container
Idea:
Based on centos image, configure a jdk environment and tomcat environment, and configure environment variables
1. Download JDK and tomcat
Downlo ...
Posted by ondi on Wed, 20 Oct 2021 23:50:26 -0700