Problem overview
About this problem, it is the problem encountered when cooperating with a third-party company to remotely call the service interface (which is equivalent to calling the remote service provider), "java.lang.ClassCastException: java.lang.String cannot be cast to com.alibaba.fastjson.JSONObject" means that the JSON str ...
Posted by deezzer on Wed, 25 May 2022 23:33:56 +0300
This article introduces jsonvalue Library , this is the first multi-functional and comprehensive Go library I developed on Github. At present, it is mainly used in the development of Tencent's future community to replace map[string]interface {}.
Why develop this library?
Go is a cutting edge in background development. Go engineers will come int ...
Posted by Darhazer on Tue, 24 May 2022 15:58:27 +0300
Three ways for Jquery to implement AJAX requests
content
Three ways for Jquery to implement AJAX requests
Introduction
Project preparation
$.get() method
$.post() method
$.ajax() method
Project demo
related articles [AJAX Tutorial] JS Native AJAX Request
Introduction
There are many methods of AJAX submission provided in the JQ ...
Posted by figuringout on Tue, 24 May 2022 04:00:18 +0300
Summarize some basic front-end knowledge. Some knowledge may be asked during the front-end interview, so making a record will also help others check. If there are any questions, you can point them out and actively correct them.
Variable types and calculations
What are the types of typeof in JS
console.log(typeof undefined); //undefi ...
How to Secure Your Documents with JSON Web Tokens (JWT)
In this article, we explain how to use JSON Web Token JWT to protect online documents from unauthorized access, so that you can more securely integrate online document editor development into your own web applications.
The open source office suite ONLYOFFICE Docs will be integrated her ...
Posted by shonuff on Wed, 18 May 2022 00:53:22 +0300
First, three notes are introduced:
@JsonAutoDetect (method/field): acts on a method or field to indicate that the method or field with the annotation is ignored when generating json
@JsonIgnore filters attributes that do not need to be converted to json
@JsonIgnoreProperties is mainly used to filter out some unnecessary properties
The above ...
Introduction to the return value of the processor
(1) Servlet returns the result to the browser Forwarding: with data Redirect: without data Asynchronous: json data is sent to the js of the page, and the js organizes the label display The code written in the Servlet to respond to the browser must call the response
(2) The method of springmv ...
Posted by nokicky on Thu, 12 May 2022 03:12:17 +0300
Detailed business code introduction of jt project
1) Business introduction:
1.1) anonymous access
~~~~
Users access jt.com via Com enters the JT home page. At this time, it is an anonymous user. If the user visits the shopping cart module or order module, the interceptor will intercept this request and redirect it to the user login page.
Speci ...
Posted by deepermethod on Sat, 07 May 2022 05:08:26 +0300
I have something to say: for most e-commerce users, it is self-evident that their information is stolen and timely. Similarly, their anti crawling mechanism is quite in place. The common anti crawling means encountered here are nothing more than cookies and refer fields. The information dynamically loaded by cookies is particularly disgusting. ...
Posted by jweissig on Thu, 05 May 2022 23:55:01 +0300
1. Problems
Two problems are often encountered in front and back-end interaction during development:
1. When the back end returns data to the front end, the Date attribute in the moudel object needs to be formatted and displayed to the front end (for example, formatted as yyyy MM DD HH: mm: SS).
2. When the front end passes parameters to the ...
Posted by Jezza on Thu, 05 May 2022 02:25:32 +0300