04jqGrid - data transfer structure
Data types supported by jqGrid: xml, json, json, local or clientSide, xmlstring, jsonstring, script, function ( )
Json data
jsonReader needs to be defined to correspond to the data returned by the server. Its default value is:
{
"cell": "cell",
"id": "id",
"page": "page",
"records": "records",
"repeatitems" ...
Added by Chappers on Sun, 24 Nov 2019 16:57:24 +0200
Spring core components
Article directory
Dependency injection
Dependency injection mode 1 (using java)
Dependency injection mode 2 (using spring injection)
aop application section
Dependency injection
Dependency injection will automatically hand over the dependency relationship to the target object instead of letting the object obtain the de ...
Added by jackread on Fri, 22 Nov 2019 21:19:13 +0200
Node.js writes a simple static server 5 MIME
MIME - Multipurpose Internet Mail Extensions, an Internet standard that describes the type of message content.
http://www.w3school.com.cn/media/media_mimeref.asp
The "content type" we set in the code before is "text/plain" and "text/html". Two different MIME settings.
We often use "applicat ...
Added by ju8ular1 on Fri, 22 Nov 2019 18:49:09 +0200
Solving the avalanche problem by fusing Hystix
1. Thread isolation, service degradation (degradation by the consumer of the service)
When the service is busy, if there is an exception in the service, it is not a rude direct error report, but a friendly prompt will be returned. Although the user's access is denied, a result will be returned.
It's like going to buy fish. Usually the supermark ...
Added by shab620 on Thu, 21 Nov 2019 21:45:39 +0200
Spring MVC annotation development
ps: it's relatively simple. It's used to lay the foundation for us to use springboot
I. project construction
(1) guide packet
<!-- servlet -->
<dependency>
<groupId>javax.servlet</groupId>
<artifactId>javax.servlet-api</artifactId>
<version>4.0.0</version>
<scope>provided ...
Added by zyntax on Wed, 20 Nov 2019 16:41:11 +0200
Using Zuul in SpringBoot
Zuul provides the function of service gateway, which can realize load balancing, reverse proxy, dynamic routing, request forwarding and other functions.Most of Zuul's functions are implemented through filters. In addition to the standard four filter types, it also supports custom filters.
Using the @ EnableZuulProxy annotation, the Spring cont ...
Added by TobesC on Wed, 20 Nov 2019 14:41:00 +0200
Android app auto update summary (adapted to 9.0)
1. configuration:
1.1 add permissions and FileProvider in Android manifest.xml:
--------------------------------------------------------------------------------------------------------------------
<uses-permission android:name="android.permission.INTERNET"/>
<uses-permission android:name="android.permission.READ_EX ...
Added by 2levelsabove on Tue, 19 Nov 2019 20:30:55 +0200
session verification and template rendering syntax based on Flask (jinja2)
Catalog
1.http transfer request header parameters
2. Processing of request.data parameter in flask
3. request.json parameter in flask
4. session management in flask
5. Template syntax in flask (if,for syntax data processing)
6. Template syntax in flask (custom function method)
...
Added by fgm on Tue, 19 Nov 2019 08:53:52 +0200
Spring framework learning - build the first spring project
Step 1: download the Spring development package.
Official website: https://spring.io/ Download address: https://repo.spring.io/libs-release-local/org/springframework/spring/
spring-framework-3.0.2.RELEASE-dependencies and spring-framework-4.2.4.RELEASE-dist extract the second one, and extract the directory:
Step 2: build a project ...
Added by phppaper on Mon, 18 Nov 2019 21:30:50 +0200
PHP implementation of wechat enterprise payment to personal change steps
Wechat payment enterprise payment to change function is widely used, such as wechat red packet reward, business settlement, etc. Through enterprise payment to individuals, payment funds will directly enter users' wechat change.
I. opening conditions
Payment fund
The enterprise pays the change fund with the balance fund of the merchant numbe ...
Added by XzorZ on Mon, 18 Nov 2019 17:08:45 +0200