Black horse shopping mall -- 11. Order, inventory, wechat code scanning payment

Learning objectives Configuration of login page Login successful jump implementation Implementation of settlement page query Order implementation Change stock Add points Introduction to payment process Introduction to wechat code scanning payment 1 login page configuration The previous use ...

Posted by netdog on Wed, 19 Feb 2020 23:02:45 -0800

Java Servlet and MVC programming mode

Servlet Servlet is the foundation of JSP (Java Servlet Pages), which is essentially a Java class running on the server side, receiving requests from clients and responding. Tomcat's containers are divided into four levels: Container, Engine, Host and Servlet. The relationship is as follows The s ...

Posted by BoukeBuffel on Wed, 19 Feb 2020 22:40:41 -0800

hibernate tutorial note 3

Why to learn HQL (hibernate query language) - > this is an official recommendation with powerful functions ? delete Session.delete (object) - > batch delete Add? session.save session.persist Modify - > batch modify Sessin.update (object) Query object obj obj.setXXX(); Query? load get Query all ...

Posted by trilbyfish on Mon, 17 Feb 2020 00:38:56 -0800

ENSP -- vgmp and HRP protocol -- dual hot standby of firewall

1, Introduction of firewall hot standby Overview of dual hot standby Dual hot standby is to solve single point of failure and realize smooth transition of business (session table needs to be synchronized) The hot standby modes of Huawei firewall include: hot standby mode and load balancing mode ...

Posted by biannucci on Sun, 16 Feb 2020 04:19:09 -0800

springboot2.0 + websocket + android client practice

brief introduction WebSocket is a protocol in HTML5. It supports persistent connection and can effectively solve the problem of polling when data synchronization between client and server. Design sketch Server side Create a web project (omitted here) Introduce websocket maven dependency (supported only when springboot ...

Posted by philspliff on Sat, 15 Feb 2020 12:16:17 -0800

Fundamentals of Web development JavaScript-16

Common properties of window in JS Case demonstration: <!DOCTYPE html> <html> <head> <meta charset="UTF-8"> <title>window Common attributes</title> <script type="text/javascript"> //Hyperlink and location can realize page Jump, //Hyperlinks are simple, but location is more f ...

Posted by tryton on Sat, 15 Feb 2020 08:55:11 -0800

Based on Python POC framework

0. Preface Because the epidemic is busy with other things for a long time, I don't want to see a more complete poc framework and principles here to share with you to learn and discuss. 1. The frame code is as follows #!/usr/bin/env python #coding:utf-8 import requests class misiinfo(object): ...

Posted by john_zakaria on Sat, 15 Feb 2020 00:11:54 -0800

Talk about the FederatedQueue of artemis

order This paper mainly studies the FederatedQueue of artemis FederatedQueue activemq-artemis-2.11.0/artemis-server/src/main/java/org/apache/activemq/artemis/core/server/federation/queue/FederatedQueue.java public class FederatedQueue extends FederatedAbstract implements ActiveMQServerConsumerPlugin, Serializable { private static final Logg ...

Posted by sachavdk on Fri, 14 Feb 2020 09:32:43 -0800

How to use Google's cloud computing resources (Google Colab) to train their own neural network and the application of model preservation and transplantation

The rise of deep learning has brought us new efforts and trial directions, and also brought higher requirements for the computing power of machines. GPU acceleration is the key to improve computing speed, but for most people, buying a good video card is too expensive. If you are not a local tyrant, i ...

Posted by blurredvision on Fri, 14 Feb 2020 05:35:54 -0800

Java realizes online examination system (administrator function)

In this examination system, the three roles of administrator, teacher and student are equivalent to three systems.Online examination system administrator login pageSubject management page (subject can be added, deleted, modified and checked) /** * Query accounts in pages and show them to the page * ...

Posted by Sfoot on Fri, 14 Feb 2020 05:10:24 -0800