JavaWeb - click count (JSP)

Article directory First, ideas II. Short term storage (no database) III. long term storage (with database) First, ideas (1) this variable (hitCounter) is valid during the operation of the program and will not be reset. Therefore, the application built-in object with the largest scope is ...

Posted on Sat, 02 Nov 2019 18:09:19 -0400 by neylitalo

Introduction to Spring Security architecture

I. technical overview 1.1 Spring vs Spring Boot vs Spring Security 1.1.1 Spring Framework Spring Framework provides comprehensive infrastructure support for Java application development. It includes some good functions, such as "dependency injection", as well as some ready-made modules: Spring JDBC Spring MVC Spring Security Spring A ...

Posted on Sat, 02 Nov 2019 18:08:23 -0400 by badassrocker

School transfer to our class, so I used Python to climb her space!

Development environment: win7 python3.5,MySQL5.7 Editor: pycharm2017.1,ipython,Navicat for mysql Required python third-party libraries: selenium,PIL,Requests,MySQLdb,csv,pandas,numpy,matplotlib,jieba,wordcloud In addition, the headless browser PhantomJS is also used. Main ideas: I. use selenium+phantomjs to log in qq space to get cookies and G ...

Posted on Sat, 02 Nov 2019 16:35:58 -0400 by nileshn

Three level learning record

  First: what is the third floor? The three layers include data access layer, business logic layer and display layer. Second: responsibilities of the third level 1. Data access layer (1) load data from data source (2) write data to data source (3) delete data from data source 2. Business logic layer (1) get data from DAL f ...

Posted on Sat, 02 Nov 2019 14:32:04 -0400 by colake

Eigen beginning 1 -- declare rotation matrix and Euler angle

Eigen is a c + + open source linear algebra Library Install Eigen sudo apt-get install libeigen3-dev A library consists of a header file and a library file. Eigen has only header files, no library files. After installation, the header file of Eigen3 can be found in / usr/include/eigen3. Take a loo ...

Posted on Sat, 02 Nov 2019 13:24:17 -0400 by curtisdw

Spring transaction attribute details

To learn things, we need to integrate knowledge with practice. If we only know the theory but never practice it, we will not have a solid grasp of it. It is estimated that we will forget it in a few days. Next, we will practice together to learn the propagation properties of Spring transactions. Propagation attribute The propagation attribute ...

Posted on Sat, 02 Nov 2019 09:52:38 -0400 by benyboi

mybatis - experience

@Use of Param @ Param("model") is specified in Java code, and it is also required in mapper.xml configuration List<ProductInfo> queryByPage(@Param("model") ProductQueryReq queryModel); <select id="queryByPage" resultMap="BaseResultMap"> select <include refid="Base_Column_List" /> from product_ ...

Posted on Sat, 02 Nov 2019 09:49:21 -0400 by findapollo

Automatic backup of mysql under freebsd

Communication is very important, the channel of communication is very important. When the team needs to cooperate, it is necessary to find ways to inform other members of the team in the most effective way of what it is doing to avoid unnecessary harm. For example, the following has just happened:There is a test system. The historical task is t ...

Posted on Sat, 02 Nov 2019 07:22:17 -0400 by amyhughes

Linux: shell script automatically inserts data from. csv file into MySQL database

Specific scenario Ubuntu 16.04 system, follow the previous article, unzip the compressed file, and then store the unzip file csv in MySQL database. The file to be operated is in / home/myftp/upload/backupcopy, and the file content First look at the specific contents of the document Take 2019-01-13.tar.gz compresse ...

Posted on Sat, 02 Nov 2019 06:42:04 -0400 by cptn_future

ThreadLocal for java Concurrent Programming learning

purpose Local threads are usually used to prevent sharing of variable single instance objects or global variables, such as database connections. You can think of ThreadLocal < T > as map < thread, t >, although this is not actually the case. Transaction context can also be saved in ThreadLocal. Although it is convenient to handle so ...

Posted on Sat, 02 Nov 2019 06:03:01 -0400 by sarbas