Struts completes input verification manually based on validateXxx method

One view 1registForm.jsp <%@ page contentType="text/html; charset=GBK" language="java" errorPage="" %> <%@taglib prefix="s" uri="/struts-tags"%> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html x ...

Added by Maugrim_The_Reaper on Thu, 03 Oct 2019 17:24:57 +0300

MyBatis -- Addition, deletion and modification of tables (annotation-based implementation)

Links to the original text: https://my.oschina.net/u/1781072/blog/542610 1. MyBatis adds/deletes/alters/checks database tables The previous article uses XML-based approach to add/dele ...

Added by tryin_to_learn on Thu, 03 Oct 2019 02:13:21 +0300

The maven-jar-plugin configuration of Maven's jar package is detailed and the MANIFEST.MF file is automatically generated.

Introduction to maven-jar-plugin configuration Recently, I learned the springboot multi-module jar package deployment project, and used the maven-jar-plugin plug-in. I'll study it carefully. I won't say much nonsense. Look down. The maven plug-in functions: compile, package, deploy... are all in the ${project. build. directory}/ classes file ...

Added by felodiaz on Wed, 02 Oct 2019 14:41:36 +0300

Node quota, quota management tree, status information in zk

Qutas mainly completes the definition of quota catalogue: Restriction information contains the required size of a path In zk, the directory structure is / zookeeper/quota/xxx/zookeeper_limits State information contains the actual size of a path /zookeeper/quota/xxx/zookeeper_stats And provide the restricted path and state path methods corr ...

Added by receiver on Wed, 02 Oct 2019 00:19:01 +0300

rocketmq Source Resolution End Transaction Processor II

Said ahead End transaction manager Source code analysis Return to this method and send the final message successfully deleting the prepared transaction submission message, org. apache. rocketmq. broker. transaction. queue. Transactional Message Service Impl # deletePrepareMessage @Override public b ...

Added by regoch on Tue, 01 Oct 2019 13:35:45 +0300

Intelligent Mail Marketing Using Markov Model in MapReduce

Intelligent Mail Marketing Using Markov Model in MapReduce (II) In this blog, we use MapReduce Computing Framework to generate the following output for each customer-id customerID (Date1Date_1Date1​,Amount1Amount_1Amount1​) ; (Date2Date_2Date2​,Amount2Amount_2Amount2​);...(DateNDate_NDateN​,AmountNAmo ...

Added by cristal777 on Tue, 01 Oct 2019 12:12:56 +0300

Deploying static websites using Apache services

Configure the website service program first Step 1: Mount the system image in the CD-ROM device into the / media/cdrom directory. [root@LinuxLehehe ~]# mkdir -p /media/cdrom [root@LinuxLehehe ~]# mount /dev/cdrom /media/cdrom mount: /dev/sr0 is write-protected, mounting read-only Step 2: Create configu ...

Added by pleigh on Tue, 01 Oct 2019 02:46:49 +0300

Deployment of svn disaster preparedness test server

Confirm OS version: [root@bogon ~]# cat /etc/redhat-release CentOS Linux release 7.4.1708 (Core) yum installation: [root@bogon ~]# yum -y install httpd mod_dav_svn subversion Installation verification: [root@bogon ~]# rpm -qa | egrep "httpd|mod_dav_svn|subversion" httpd-tools-2.4.6-89.el7.centos.1.x86_64 httpd-2.4.6-89.el7.centos.1.x86_64 subv ...

Added by xeirus on Mon, 30 Sep 2019 23:31:42 +0300

Preliminary Study on OSSIM Sensor Agent Transport Mechanism

The main function of OSSIM Agent is to collect all the data sent by various devices that exist on the network, and then send it to OSSIM Server in a standard way. After collecting the data, Agent should normalize the data before sending it to Server. This paper mainly focuses on how to send the data in an orderly way and how to complete normali ...

Added by winggundamth on Sat, 28 Sep 2019 21:04:55 +0300

K-Mean Clustering of MapReduce (End)

KKK-Mean Clustering of MapReduce (End) In the last blog K-Mean Clustering of MapReduce (I) In this paper, the basic principle of KKK-means clustering algorithm is introduced, and then how to use MapReduce to implement KKK-means clustering algorithm is described. MapReduce solution The MapReduce solu ...

Added by ak_mypayday on Sat, 21 Sep 2019 11:03:09 +0300