Before the server.cat is initialized, the Tomcat will be started xml to create a multi-layer container. This container is composed of several components, with server xml as an example, this xml file contains the components to be started.
<Connector /&g ...
Posted by numoon56 on Mon, 23 May 2022 20:05:09 +0300
1: Load balancing technology
1. Introduction of load balancing technology
Load balancing technology is a concept that evenly distributes the use of resources.
Load balancing: distribute traffic and requests to different servers. Distribute the flow evenly (ideal state)
Server disaster recovery traffic distribution
① T ...
Posted by davidcriniti on Thu, 19 May 2022 18:09:29 +0300
I Introduction to Tomcat
1.1 introduction to Tomcat
Free, open source Web application server
The Apache Software Foundation is a core project of the Jakarta project
It is jointly developed by Apache, Sun and some companies and individuals
It is deeply loved by Java lovers and recognized by some software developers It is a popular Web applica ...
Posted by DiceyJono on Mon, 09 May 2022 01:29:50 +0300
11, Filter filter
11.1 what is a Filter
To access a servlet, you can go through the filter first, then access the servlet, and then go through the filter when returning. Draw a picture:
That is, a layer of filter is added before the servlet.
What's the use? For example, we can use it to deal with Chinese garbled code without adding such a ...
Posted by Xonnie316 on Tue, 26 Apr 2022 15:57:02 +0300
1. What is a Servlet?
Servlet is a dynamic web resource development technology provided by SUN company. It is essentially a java program running on the server side. It should be noted that this java program cannot run independently. It must be placed in the Servlet container (such as tomcat server) and called by the container before it can be ...
Posted by Zaynt on Sun, 24 Apr 2022 22:29:01 +0300
I. domain object
1. What is scope?
2. Four domain objects
1. Why do I need EL
2. What is EL
3. Functions of EL
4. EL syntax
5. Characteristics of EL
🔘 Automatic conversion type
🔘 Easy to use
6. EL variable attribute range name
7. Get the data in the object set
1. Why use JSTL?
2. What is JSTL?
3. Steps f ...
Posted by gregmiller on Fri, 15 Apr 2022 19:19:50 +0300
The main database operators in java are mybatis and Hibernate. Next, let's introduce how the mybatis framework causes SQL injection. Because I read some articles on the Internet and found that basically everyone is directly on the framework, but there may be some Xiaobai like me who are not familiar with mybatis and jdbc. Therefore, I plan to s ...
Posted by Dave3765 on Fri, 15 Apr 2022 15:37:55 +0300
Creation of database
Create packages and classes using eclipse:
1. Shopping cart user login
2. Product display
3. Shopping cart Addition & calculation of total quantity and price of goods
1, Project premise
1. The shopping cart is not always in the database
Posted by boon_chong on Thu, 14 Apr 2022 06:10:45 +0300
This is the Java Web project
<?xml version="1.0" encoding="UTF-8"?>
Posted by eojlin on Wed, 13 Apr 2022 02:34:59 +0300
13. Common applications of filters
A form obtains the username and sends it to the servlet (locate the URL of the registered servlet through the action of the form)A success interface, which provides a logout button (after logout, directly jump to the index interface)An error interface, which provi ...
Posted by JohnnyBlaze on Sat, 09 Apr 2022 13:59:20 +0300