16-JSON, AJAX, book city project phase IX, i18n

get ready New module 16_json_ajax_i18n and create a Tomcat instance 1. What is JSON? JSON (JavaScript object Notation) is a lightweight data exchange format. Easy to read and write. It is also easy to machine parse and generate. JSON adopts a text format completely independent of language, and many languages provide support for JSON (inc ...

Posted by blueovaltv on Mon, 13 Sep 2021 19:24:46 -0700

REST Assured 37 - @JsonInclude Annotation – ignore fields with Null & Empty Values in Payload

REST Assured series summary REST Assured 37 - @JsonInclude Annotation – ignore fields with null & empty values in Payload Jackson libray is an important annotation @JsonInclude, which can clear the properties with default value, null and empty. This article will learn about ignoring null and empty attributes in paylaod. Maven Depend ...

Posted by Infinitus 8 on Sun, 12 Sep 2021 18:52:01 -0700

JavaWEB Notes 14 jQuery Sends AJAX and JAVA Background JSON Data

JavaWEB Notes 14 jQuery Sends AJAX and JAVA background and JSON data Part One: jQuery Sends AJAX 1.jQuery sends AJAX details: The main purpose of AJAX is to refresh some requests on the page without reloading the page, and submit the form to the background. There are many ways to send AJAX using jQuery. Now you are introducing jQuery's n ...

Posted by jdsflash on Fri, 03 Sep 2021 09:16:22 -0700

vue property binding and interaction

vue directive binding properties vue binds attributes by directive v-bind, src/width/height/title, such as v-bind:src='''can be abbreviated as: src=''', the same v-Bind:widthWait a moment, abbreviated as width,:height <script src="https://unpkg.com/vue/dist/vue.js"></script> <body> <div id="box"> <img v-bind:sr ...

Posted by info@ipfaces.org on Mon, 20 Jul 2020 09:12:34 -0700

vue+vuex+axios+echarts Draw a dynamically updated map of China

I. Build projects and install plug-ins # Install vue-cli npm install vue-cli -g # Initialize project vue init webpack china-map # Cut into Catalog cd china-map # Installation Project Dependency npm install # Install vuex npm install vuex --save # Install axios npm install axios --save # Install ECharts npm install echarts --save II. Pr ...

Posted by jimmyborofan on Mon, 20 Jul 2020 08:30:08 -0700

Crawl app photos with python

Download a fighting fish first (you can do it without downloading, the URLs are all here, right) Grab a json package by grabbing it and get the address below   Observed tests show that modifying offset values is equivalent to paging an app Accessing this url returns a large dictionary with two indexes, one error and one data.Data is another 20 ...

Posted by snowdog on Mon, 20 Jul 2020 08:02:20 -0700

java ajax instantly verifies that the same classification exists in the database

When I do the project again, the customer needs me to implement a function, probably when adding classifications, if the database has the same classifications, the jsp interface will prompt for information and cannot be added successfully.The results are as follows:   Below is the idea for implementation: 1. First implement an onblur event in ...

Posted by BLeez on Fri, 17 Jul 2020 09:02:47 -0700

vue loop resolving, custom filter, avoid flickering

* vue version 1.0 Repeated resolution of vue loop data v-for specifies that duplicate data will be deleted if duplicate data occurs during looping. vue1.0: Just add track-by="$index" <li v-for='value in arr'track-ty='$index'></li>where V-for loop goes vue2.0+: need to get index on v-for, for example: <li v-for='(val ...

Posted by sgtpepper on Thu, 16 Jul 2020 07:21:59 -0700

Beginner vue+webpack (front end of formal pit entry)1

1. Install firstNode.jsEnvironment Official Website Address https://nodejs.org/en/ Text editor chooses sublime text3 (vs is too big) 2. Establishing projects 2.1 Create a new project folder, code-x code number x plan, and put it on the desktop 2.2 Initialization cd c:\user\duab\desktop\code-x npm install -g vue-cli //Global Installation vue-c ...

Posted by BinaryDragon on Mon, 13 Jul 2020 08:02:55 -0700

Beginner vue+webpack (front end of formal pit entry)1

1. Install firstNode.jsEnvironment Official Website Address https://nodejs.org/en/ Text editor chooses sublime text3 (vs is too big) 2. Establishing projects 2.1 Create a new project folder, code-x code number x plan, and put it on the desktop 2.2 Initialization cd c:\user\duab\desktop\code-x npm install -g vue-cli //Global Installation vue-c ...

Posted by skehoe on Mon, 13 Jul 2020 08:03:31 -0700