Spring Boot integrates Servlet,Filter,Listener, access to static resources

Catalog Spring Boot integrates Servlet s (two ways) First, register the Servlet components by annotation scanning: The second way (by completing registration of Servlet components) Springboot Integrate Filter (similar to Integrate Servlet) First method (registration of Fliter components via annotation scanning) Second way (register the Fi ...

Posted on Tue, 07 Apr 2020 11:45:58 -0700 by oldmanice

Introduction of element UI in vue

Element UI official website: http://element-cn.eleme.io/zh-cn/component/installation To install element UI: Mode 1 npm: Execute after entering the project root directory cnpm  i  element-ui -S Mode 2: CDN <! -- import style -- > < link rel = "stylesheet" href = "https://unpkg.com/element-ui/lib/theme-chalk/index.css&quot ...

Posted on Tue, 07 Apr 2020 10:30:35 -0700 by ubaldc36

mongodb on linux for the first time

Purpose: it's not a professional one. Take it and play. If it's really put into production, please move to the official website Reference: Official website Doc The document is very rich, only look for the simplest Mapping question: "put the elephant in the refrigerator. How many steps are there?" The first step is to open the refri ...

Posted on Tue, 07 Apr 2020 10:29:13 -0700 by sdyates2001

C ා access JSON data directly through anonymous classes

February 9, 2018, yushimen. Experimental purpose In the process of interaction between C ා and Rest/Restful and other Web services, a lot of data is transferred to JSON. How to transform C ා object to JSON and JSON to C ා object quickly becomes the content frequently used in the development process. In the traditional way, we nee ...

Posted on Tue, 07 Apr 2020 10:04:37 -0700 by padma

C program calls cmd to execute command

Reprinted from: https://www.cnblogs.com/babycool/p/3570648.html One method string str = Console.ReadLine(); System.Diagnostics.Process p = new System.Diagnostics.Process(); p.StartInfo.FileName = "cmd.exe"; p.StartInfo.UseShellExecute = false; //Whether to use the operating system shell to start p.StartInfo.Redi ...

Posted on Tue, 07 Apr 2020 09:59:42 -0700 by martyn

One of the three characteristics of Java object-oriented: Encapsulation

One of the three characteristics of object-oriented: Encapsulation Concept:Some information of the class is hidden inside the class, which is not allowed to be directly accessed by external programs. Instead, the operation and access to the hidden information are realized through the method class provided by the class Benefits of encapsulation: ...

Posted on Tue, 07 Apr 2020 09:43:30 -0700 by AliasXNeo

2020Python jobs -- classes and objects

@2020.4.7 Many data and functions are involved in the project of course selection system, which requires the introduction of object-oriented ideas to integrate them #1. School data and function integration #2. Integration of course data and functions #3. Integration of student data and functions #4. Integration of lecturer data and func ...

Posted on Tue, 07 Apr 2020 09:07:40 -0700 by jjbarnone

Using the python 3 crawler to grab a web page to download a novel

Many times I want to read novels but I can't find any resources on the website. Even if I find the resources, I can't download them. Of course, I can read novels on my mobile phone after downloading them! So the programmer's thinking came out. If I can't download it, I will use the crawler to climb down each chapter and store it in a txt file. ...

Posted on Tue, 07 Apr 2020 08:52:59 -0700 by truckie2

Stored procedure of IF judgment

Query the data one by one, and return the data directly. Here is an example: Query data from table1, table2 and table3 in turn. The default value of resultCount is 0. Copy the number of rows of each query result to resultCount. Terminate or continue according to the condition IF @resultCount=0 THEN. Temp ...

Posted on Tue, 07 Apr 2020 08:50:44 -0700 by dabaR

Deep disk mount

Deep in disk mount It's no surprise to see my terminal English. I don't know how, but it doesn't affect what we have to do. 1. View the current disk condition Use df -h to view disk status Filesystem Size Used Avail Use% Mounted on udev 3.9G 0 3.9G 0% /dev tmpfs 789M 2.9M 786M 1% /run /dev/nvme0n1p3 45G ...

Posted on Tue, 07 Apr 2020 08:00:18 -0700 by neoson