Knowledge summary - principle and use of 05 token

1. token has two main functions: (1) Prevent form from being submitted repeatedly (set the time limit) Principle: generate a unique random identification number on the server side. The technical term is Token. At the same time, save the Token in the Session domain of the current user. Then the Token is ...

Added by mhouldridge on Sun, 23 Feb 2020 08:16:27 +0200

Traditional jsp+servlet upload file to server and save image address to database

Recently, the traditional Servlet+jsp method is used to realize the function of uploading the user's head image. It is found that it is much more difficult than using the spring boot framework to upload images. In the middle, there are also various problems. Please record them. Upload your head Firs ...

Added by GetPutDelete on Fri, 21 Feb 2020 17:13:09 +0200

Platform of beauty and skin care based on Flask framework

1, Development tools This platform uses Python programming language, uses Flask and Bootstrap framework, develops under Windows 10 operating system, uses Pycharm development environment, front-end development uses HTML+CSS+JS mode, database uses MySQL database, browser uses Google Chrome. 2, Demand ...

Added by Dtonlinegames on Fri, 21 Feb 2020 07:50:48 +0200

BS-1 Python basic knowledge-1.19 reading and writing of data files

Reading and writing data files Text file read csv file read Definition Basic read Read by list index Give the contents read by reader to namedtuple Give the dictionary what you read Writing csv file Write the contents of the list Dictionary table content writing JSON file processing json introdu ...

Added by Cesar on Fri, 21 Feb 2020 06:38:58 +0200

Spring security permission system of Java framework

SpringSecurity Spring Security integrates spring technology stack, provides the overall security solution of Java EE application, and provides comprehensive security services. Spring Security supports a wide range of authentication models Module division Core - spring-security-core.jar Core modules: core authentication, authorization, JDBC ...

Added by angelac on Thu, 20 Feb 2020 12:01:16 +0200

C3P0 of JDBC learning notes

step Import jar package Import c3p0-0.9.5.2.jar and mchange-commons-java-0.2.12.jar Define profileName: c3p0.properties or c3p0-config.xmlPath: put the file directly in the src directory <c3p0-config> <!-- Read connection pool objects using the default configuration --> <default- ...

Added by j007w on Wed, 19 Feb 2020 10:45:48 +0200

MySQL Shell: 02 deploy InnoDB ReplicaSet

The following article is from universal repair laboratory, Mr. Gong In January 2020, in addition to the coronavirus whose source information is like a mystery story, MySQL officially released a new version of 8.0.19, and the biggest highlight is the ReplicaSet function. InnoDBReplicaSet consists of a primary database and multiple secondary da ...

Added by rosieraz on Tue, 18 Feb 2020 09:52:20 +0200

PHP+mysql database simple paging instance sql paging

A few days ago, Leng Yue wrote a blog post "php basic programming - php connection to mysql database - simple use of mysqli". After learning, many small partners know the connection between php and mysql database. Today, Leng Yue shares a simple paging example First, let's look at the effect: This case is very simple, so how can we ...

Added by NeoPuma on Tue, 18 Feb 2020 05:31:48 +0200

2, Qooq series tutorial - Basic CURD

Basic CURD operations can be completed through the DSLContext API and Record API. This article mainly explains the most basic usage through some example codes. Some extensions and other advanced uses will be mentioned later From then on, the following code block will not write the creation process of DSLContext in detail. For details, see secti ...

Added by dmarquard on Mon, 17 Feb 2020 09:53:43 +0200

Distributed transaction solution based on activemq

1. Distributed transaction scenario Scene Description: Alipay transfer balance treasure Distributed transactions must meet the following conditions: 1, remote RPC calls, Alipay and bal ...

Added by zero-one on Mon, 17 Feb 2020 08:25:17 +0200