java listens for file or folder changes

Today, we meet a new requirement. When downloading files from the server, we open them with the designated local program. We don't know when the file download is completed. We can only consider listening folders and opening the designated program when new files are created. Here is a complete download and opening process: 1. Download files j ...

Posted by Cless on Tue, 08 Oct 2019 04:07:21 +0200

Ajax - Typical Applications - Three Level Linkages

Ajax Typical Applications Three Level Linkages Requirements and Preparedness First create new employees.jsp under WebContent to forward to employees.jsp page under pages folder <!-- This method can also go directly. listLocations page <jsp:forward page="EmployeeServlet?method=listLocations" ...

Posted by ppatwari on Fri, 04 Oct 2019 14:39:32 +0200

Use of Layui Switch

Use layui switch in Jsp list page Functional introduction: The layui switch is used to control the state of a data. 0: Enables 1: Disables. Background framework: SpringMVC+Mybatis Background page: Jsp page Functional Display: Code implementation: Reception: <tbody> <c:forEach i ...

Posted by matthewdingley on Fri, 04 Oct 2019 10:37:49 +0200

Spring Framework Learning Notes: Spring MVC Framework

Spring MVC framework is based on Spring framework, which can make it more convenient for us to develop the Web and realize front-end and back-end separation. Ideas and principles We defined a custom MVC framework just like Spring MVC, and both ideas are the same. It is suggested to combine two articles for learning. JSP Learning Notes (6) - Cus ...

Posted by Nicholas on Wed, 02 Oct 2019 16:05:41 +0200

JSP - Nine Built-in Objects - response

The response object is an instance of the javax.servlet.http.HttpServletResponse class. Just as the server creates the request object, it also creates a client response. The response object defines the interface for processing the creation of HTTP headers. By using this object, developers can add ne ...

Posted by akumakeenta on Tue, 01 Oct 2019 01:12:04 +0200

The MVC Model Explains a little Classroom (Multi-shore College)

Let's first look at what MVC mode is. MVC is a design pattern. The schematic diagram of MVC is as follows: A Brief Introduction to Spring MVC Spring MVC framework is driven by requests. It is designed around Servlet and sends requests to the con ...

Posted by millercj on Tue, 10 Sep 2019 06:47:11 +0200

A Simple Application of Ehcache-RSSReaderTag

Links to the original text: https://my.oschina.net/mohaiyong/blog/221286 Cache code has been written a lot before, but has not been sorted out, always lazy! In this case, we need to d ...

Posted by xtian on Mon, 09 Sep 2019 07:15:20 +0200

Configuration file for spring security security framework

Here I write the configuration files for two different spring security security frameworks: 1. Use users in memory 2. Users in the database 1. Users in memory: <?xml version="1.0" encoding="UTF-8"?> <beans xmlns="http://www.springframework.o ...

Posted by LanceT on Sat, 07 Sep 2019 08:25:02 +0200

JSP and Servlet Integration Case

02 System Page Creation-System Requirements Analysis 2.2 Brief Answers 2.2.1 According to the video, please write out the realization of login function? User information is queried according to user name and password. If it is found, the login succ ...

Posted by phpprog on Fri, 23 Aug 2019 16:01:37 +0200

BOM Expansion Example of JAVA Spring MVC Bill of Material

Related concepts: BOM expansion, LIST object, JSON string, JSON object Recently, a management software is being developed, which involves the BOM management of bill of materials (also known as product structure), one of which is the development of BO ...

Posted by paulb on Thu, 22 Aug 2019 13:56:22 +0200