Custom xsd file operation in Spring
1 set the syntax format of html file xsd file
Write xsd file according to the properties of POJO.
for example
<?xml version="1.0" encoding="UTF-8" ?>
<schema xmlns="http://www.w3.org/2001/XMLSchema"
targetNamespace="http://www.zhangyh.com/schema/user"
elementFormDefault="qualified">
<element name="user">
...
Added by pleigh on Wed, 16 Oct 2019 17:33:00 +0300
[leetcode algorithm - longest substring without repeating characters]
Given a string, please find out the length of the longest substring that does not contain duplicate characters.
Example 1:
Type: "abcabcbb"
Output: 3
Explanation: because the longest substring without repeating characters is "abc", its length is 3.
Example 2:
Enter: "bbbbb"
Output: 1
Explanation: because t ...
Added by daltman1967 on Tue, 15 Oct 2019 20:26:11 +0300
Spring Security Custom Logon Authentication
I. Preface
This article will describe Spring Security's custom login authentication verification username and password, custom password encryption, and authentication failure or successful processing of returned json format data in the case of front-end and back-end separation.
Warm Tip: Spring Security has the default password encryption and l ...
Added by CFennell on Mon, 14 Oct 2019 08:50:49 +0300
Loading Bean s for Spring Ioc Source Analysis: Cyclic Dependency Processing
In the previous article, we analyzed step 2 of doCreateBean() in detail: instantiating bean s, and then we analyzed step 4 of doCreateBean() called "cyclic dependency processing", which is populateBean() method.
First, review the main process of Bean loading:
In the case of singleton mode, get the BeanWrapper instance object from t ...
Added by peyups on Mon, 14 Oct 2019 05:56:26 +0300
Cattle and Passenger Network & Huawei Computer Test & Coordinate Moving
Cattle and Passenger Network & Huawei Computer Test & Coordinate Moving
code implementation
#include<iostream>
#include<string>
#include<vector>
#include<cctype>
using std::cin;
using std::cout;
using std::endl;
using std::string;
using std::vector;
int main()
{
str ...
Added by snarkiest on Sat, 12 Oct 2019 20:51:04 +0300
Introduction to Python Data Analysis and Practical Learning Resources
pandas is a software package of Python language. When we use Python language for machine learning programming, it is a very common basic programming library. This article is an introduction to it.
pandas provides a fast, flexible and expressive data structure, which aims to make the work of "relation" or "mark" data simple ...
Added by gin on Sat, 12 Oct 2019 20:23:32 +0300
Introduction and use of go web framework gin
This is the first article introduced and used by gin.
I. brief introduction
Gin's official statement is as follows:
Gin is a web framework written in Go (Golang). It features a martini-like API with much better
performance, up to 40 times faster thanks to httprouter. If you need performance and good
productivity, you will love Gin.
Official ...
Added by ValdouaD on Sat, 12 Oct 2019 13:56:27 +0300
After page office opens word file online, it can save document and save data separately.
PageOffice's storage mechanism is to save data first and then files, so clicking the Save button once can save both data and files at the same time. But there is a need to save files or data separately. The following is a demonstration of the implementation process.
I. Core Code
poCtrl.setSaveDataPage("SaveData.jsp");//Set up the page to save ...
Added by Highlander on Sat, 12 Oct 2019 06:55:02 +0300
File upload into library MySQL and download
Demand:
Excel files need to be parsed, uploaded to a table in the database and downloaded.
Technology:
ElementUI for front-end vue, spring boot for back-end, mybatis
Achieving results:
Upload implementation:
1) Field type selection
The field type used to store files in the database is BLO ...
Added by Dlex on Fri, 11 Oct 2019 23:38:20 +0300
Realization of Classification Menu of Goods on the Left Side of E-Commerce
Whether on the pc side or the mobile phone side, there are similar categories on the left side, clicking on the right side to switch the content of the functional page.
To achieve this function, the first step is to master the method of left and right layout.
Left and right layout
Flexible Layout is recommended
.parent {
display: flex;
}
...
Added by AustinP on Fri, 11 Oct 2019 18:13:49 +0300