13, Monitor
1, Monitor
1.1. Function of monitor
+++What is a monitor?
Listener: it is mainly used to listen to the creation or destruction of specific objects and the change of properties!
Is a common java class that implements a specific interface!
+++What objects need to be monitored?
Par ...
Added by agoe on Sun, 23 Feb 2020 09:57:01 +0200
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
Four methods of transferring data to page in Spring MVC
When we used Servlet + JSP to develop web applications, we usually used the four scopes of Servlet: request,session,page,application to pass values to the page. Spring MVC certainly supports the native APIs of these servlets, but it also provides us with more powerful API support. Let's discuss how spri ...
Added by cyberdwarf on Sat, 22 Feb 2020 11:46:10 +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
Starting from 0, the first Spring Boot project (javaweb personal blog system) Spring Boot + thymeleaf article list display
review
In the previous article, we implemented the layout and publishing function of the article publishing page. There are some problems in it. In this article, we solved the problems and started to display the article list.
1 effect preview
1.1 writing articles
After logging in successfully, w ...
Added by gauravupadhyaya on Thu, 20 Feb 2020 12:17:14 +0200
Java Web notes - JSP&EL&JSTL
JSP:
1. instruction
*Function: used to configure JSP pages and import resource files
* format:
<% @ instruction name property name 1 = property value 1 property name 2 = property value 2...% >
* classification:
1. page: configure the
*contentType: equivalent to response.setContentType() ...
Added by jwadenpfuhl on Tue, 18 Feb 2020 05:12:31 +0200
Third party components of the flash framework
Article directory
Third party components of the flash framework
flask-session
WTForms
Verification method
DBUtils database connection pool
websocket
Group chat
Single chat
Third party components of the flash framework
flask-session
Third party session, which is stored in the local database. ...
Added by janet287 on Sun, 16 Feb 2020 08:09:41 +0200
Spring MVC learning notes 02
Process model data:
If data is needed for jump, VM can use the following methods
ModelAndView,ModelMap,Map,Model Data placement request Scope of action
//Example:
public String testModelMap(ModelMap mm){ //The returned ModelAndView has both data and view
Student student = new Student();
st ...
Added by conor.higgins on Fri, 14 Feb 2020 15:10:10 +0200
Simple handwritten digit recognition
Personal notes thank you
Handwritten digit recognition
Reference link: https://blog.csdn.net/qq_/article/details/80450741
1. import package
import tensorflow as tf
from tensorflow.examples.tutorials.mnist import input_data
2. Import data set
mnist = input_data.read_data_sets('MNIST_data',one_ho ...
Added by fazzfarrell on Wed, 12 Feb 2020 10:30:25 +0200
Tensorflow basis -- activation function (Sigmoid, tanh); loss function (quadratic cost function, cross entropy cost function, logarithmic release cost function)
Catalog
1. Activation function
1.1 hyperbolic tangent function and Sigmoid function
2. Loss function (cost function)
2.1 L1 norm loss function
2.2 L2 norm loss function
2.3 quadratic cost function
2.4 cross entropy cost function
2.5 log likelihood cost
3. Demo code
1. Activation function
The i ...
Added by implications on Sun, 09 Feb 2020 12:09:55 +0200