Minimal Python syntax
7. Using regular expressions in Python
7.1 regular expression
When dealing with strings, we often use the need to find strings that meet some complex rules. Regular expressions are tools for describing these rules. Regular expressions are the code used to record text rules.
7.1.1 line locator
The ...
Posted by philipolson on Sat, 13 Jun 2020 04:41:18 -0700
Filter and Listener related learning notes
Filter: filter
concept
When accessing the resources of the server, the filter can intercept the request and complete some special functions.
Generally used to complete general operations. (such as login authentication, unified encoding, sensitive character filtering...)
step
Define a class to imp ...
Posted by RClapham on Fri, 12 Jun 2020 22:09:52 -0700
J2EE knowledge summary
J2EE knowledge summary
1, DTD
1. Why DTD?
2. What is DTD?
3. Where is DTD used?
4. How to use DTD?
5. Example explanation
2, XML
1. Why XML?
2. What is XML?
3. Where is XML used?
4. How is XML used (XML modeling)?
5. Example explanation
3, Reflex
1. Why reflection?
2. What is reflex?
3. Where is ...
Posted by esthera on Wed, 10 Jun 2020 22:54:42 -0700
[hard study] Java notes 0.7
Java notes
One of the object-oriented features: encapsulation and hiding
Four access modifiers
Member 3 of class: constructor (constructor)
Constructor Overload
Keywords - this
JavaBean
One of the object-oriented features: encapsulation and hiding
The user's direct operation on the properties ...
Posted by terje-s on Tue, 09 Jun 2020 21:11:26 -0700
[Nginx] basic concept and installation
1, Basic concept of Nginx
1. About Nginx
What is Nginx
Nginx (engine x) is a high-performance HTTP and reverse proxy server, characterized by less memory consumption and strong concurrency. It has been reported that it can support up to 50000 concurrent connections
2. Reverse proxy
Forward agent
The forward proxy is a kind of client proxy. The ...
Posted by subcool on Sun, 07 Jun 2020 03:09:57 -0700
Read and understand Filter filter
Filter filter
What is a Filter
Use of Filter
Filter lifecycle
FilterConfig class
FilterChain filter chain
Interception path of Filter
What is a Filter
1.Filter filter is one of the three components of javaWeb. Servlet program, Listener listener, filter filter
2. It is an interface
3. Function: f ...
Posted by dandaman2007 on Sat, 06 Jun 2020 23:30:08 -0700
Details of Struts2 configuration
1. Execution process chart of struts 2
The whole implementation process is divided into two parts:
1. Server start - > initialization filter - > Load struts.xml
2. Browser send request - > filter - > struts.xml Find action class name in - > instantiate action class
The action class w ...
Posted by Ju-Pao on Fri, 05 Jun 2020 02:32:41 -0700
Spring MVC advanced - how to use interceptors correctly? Case explanation
Spring MVC: interceptor
Implemented the HandlerInterceptor interface.
Function: used to intercept the controller
2, Define an interceptor
1. Environment construction
@Component
public class Demo1Interceptor implements HandlerInterceptor {
@Override
public boolean preHandle(HttpServletRequest request, HttpServletResponse response, ...
Posted by emma57573 on Wed, 20 May 2020 23:03:42 -0700
Deploy multiple projects in Tomcat, and configure the process of secondary domain name through Nginx reverse agent
Purchase domain name. Example: example.com
Set multiple secondary domain names. As shown in the figure:
To configure the tomcat file:
Modify the server.xml File:
The following configuration configures three containers with three different ports.
Please note three points: ① port number: Connector port; ② container name: portservice ...
Posted by kenchucky on Sun, 17 May 2020 08:11:31 -0700
Summary of jvm learning [past and present life of a class]
1 I am Queen of the Jing King of Zhongshan
Hello, my name is Li Dahammer, and I am an unrivalled actor. I am about to participate in a stage play called The Romance of the Three Kingdoms, directed by Mr. Luo Guanzhong, an old man whose coffin cannot be pressed down.And I, Uncle Liu, who is about to play one of the three leading characters, hey ...
Posted by Pasa Mike on Thu, 07 May 2020 10:20:05 -0700