1 Filter what is a filter
Filter filter is one of the three major components of Java Web. The three components are: Servlet program, Listener listener and filter filter
Filter filter, which is the specification of Java EE. That is, the interface
Filter filter is used to intercept requests and filter responses.
Common application ...
Posted by Master Zen on Tue, 24 May 2022 04:24:00 +0300
1. What is a servlet?
2. Working mode of Servlet
3. What are the main types of servlets
4. Create a Servlet class and configure it to the server
4.1 create a Servlet class and inherit HttpServlet (created manually)
4.2 configuring servlet s in Tomcat (must be configured in web.xml)
4.3 automatic creation and configuration
Posted by vcarter on Fri, 20 May 2022 01:41:15 +0300
What is session tracking technology
Session tracking is a common technology in Web programs, which is used to track the whole session of users. Maintain data management during user sessions. Common session tracking Technology is Cookie and Session. Cookie s determine the user's identity by recording information on the client Session determines ...
Posted by asy1mpo on Sun, 08 May 2022 12:38:38 +0300
Embedded Servlet container of SpringBoot
In SpringBoot, an embedded Servlet container is used for web project development, and a jar package is made after the development. This is because SpringBoot makes an embedded Servlet container. Because of this embedded Servlet container, we do not need to use external Tomcat to analyze t ...
Posted by matthewlesh on Sat, 30 Apr 2022 11:25:55 +0300
1, Difference between filter and controller?
2, What is the relationship between the URL pattern of the filter and the controller?
3, What is the role of using wildcards in URL pattern when configuring filters?
4, The listener in this example is essentially monitoring what event in the container causes the change of what object? ...
Posted by blargalarg on Thu, 28 Apr 2022 18:45:33 +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
Question: After learning Servlet, it is too troublesome to use Servlet to show the page. It greatly affects the efficiency of development. Is there a way for us to program web pages like writing web pages??? Solution: Using JSP technology: (HTML+CSS+JS+jQuery+Java code) Concept: The full name of JSP is Java Server Pages ...
Posted by WindChill on Sat, 16 Apr 2022 00:25:30 +0300
Filter and Listener of JavaWeb
Filter configuration details
Event monitoring mechanism
Cases of login interception using Filter
Filter: when accessing the resources of the server, the filter can intercept the reques ...
Posted by cavey5 on Sun, 10 Apr 2022 21:06:03 +0300
JSP(Java Server Pages) dynamic web page technical standard. Its foundation is a simplified Servlet design.
JSP is a substitute for Servlet to output HTML. In Servlet, you can also write page code by stream, but it brings a lot of repetitive work to programmers, and writes the logic processing and page output together, which makes the ...
Posted by Galia on Tue, 05 Apr 2022 04:28:52 +0300