Use jQuery ajax() method to submit asynchronously and verify user login

The authentication of user login can be submitted using form form, or it can be submitted asynchronously using ajax technology. AJAX, Asynchronous Javascript And XML, is a technology for creating fast dynamic web pages. AJAX enables web pages to be updated asynchronously by exchanging a small amount of data with the s ...

Posted on Mon, 30 Mar 2020 16:17:29 -0400 by biohazardep

The difference between mirror and repository in Maven configuration file and central warehouse configuration

1. The difference between mirror and repository in Maven configuration file 1.1 repository A repository is a warehouse. There are two kinds of warehouses in maven: local repository and remote repository. 1.1.1 there are three kinds of remote repositories Central warehouse: http://repo1.maven.org/maven2/ Private service: maven repository built ...

Posted on Mon, 30 Mar 2020 09:10:07 -0400 by verN

Enterprise level automation deployment scheme -- ansible to realize tomcat automatic installation and configuration

More than 10 hours in total Train of thought overall design Ansible playbook directory structure [root@ansible ~]# tree /etc/ansible/roles/tomcat /etc/ansible/roles/tomcat ├── files │ ├── catalina.sh │ ├── context.xml │ └── setenv.sh ├── handlers │ └── main.yaml ├── tasks │ ├── install_jdk.yaml │ ├── install_tomcat.yaml │ └── mai ...

Posted on Mon, 30 Mar 2020 06:52:03 -0400 by daphreeek

Install ios application with plist

Step one: When using MACBOOK to export ipa, we get ipa and a plist file When you see the plist we exported, you need to notice that two of them have been marked in Chinese. One is the URL, one is the bundle identifier <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://ww ...

Posted on Sun, 29 Mar 2020 14:12:12 -0400 by geebo

app calls other apps to open files

According to the demand, the files displayed in the app need to be shared and opened and viewed with the related software installed on the mobile phone, so the function of "other applications open files" is used for users to consult in different ways. Here, we go directly to the code: Step 1: the first step is to vi ...

Posted on Sun, 29 Mar 2020 13:21:09 -0400 by grim1208

Transaction management of SpringBoot @ Transactional

ssh ssm has transaction management service layer configured through applicationContext.xml, and all service methods are added with transaction operations; It is used to ensure consistency, that is, multiple dao operations in the service method succeed or fail at the same time; Just make a @ Transactional under springboot Transf ...

Posted on Sat, 28 Mar 2020 10:51:55 -0400 by bigmichael

Android boot page GudiesDemo

Reference from https://github.com/javajavadog/guideshow The jar packages used can be found in https://github.com/javajavadog/guideshow/blob/master/jar/guideshowlib.jar download 1. Create a new project in Android studio, copy the file guideshowlib.jar (to download, see the second line) to the directory.. \ app\libs, and add th ...

Posted on Fri, 27 Mar 2020 12:47:09 -0400 by aravind_mg

Understanding Golang component protobuf

What is protobuf protocol buffers is a language independent, platform independent and extensible method for serializing structured data. It can be used for (data) communication protocol, data storage, etc. It is a flexible, efficient and automatic structural data serialization method - comparable to XML, but smaller (3-10 times), faster (20-100 ...

Posted on Thu, 26 Mar 2020 12:50:09 -0400 by ethan.whitt

android -------- custom control (3)

In the previous section, I briefly described several methods of custom control in Android. Today, I realize a simple case through code   Customize a pie chart Custom control example: Here is an example of how to inherit View public class CircularView extends View { /**** * The third parameter in a three parameter constructor is ...

Posted on Thu, 26 Mar 2020 12:49:53 -0400 by pdub56

Android 7.0 take photos and upload

On Android 7.0 mobile phone, call the system camera with the old method to take photos and keep throwing. FileUriExposedException is abnormal. This is because Android 7.0 forces a policy called StrictMode to be enabled, and App cannot expose URI of file: / /. If you use Intent to open an external App with such a URI (for exampl ...

Posted on Thu, 26 Mar 2020 11:35:22 -0400 by Lexas