CORS (cross origin resource sharing) "cross domain resource sharing" is a W3C standard. It allows browsers to send Ajax requests to cross domain servers, breaking the resource limit that Ajax can only access the site. CORS is used in many places. JS payment of wechat payment is to send cross domain requests to wechat servers through ...
Posted by insane on Sat, 02 May 2020 19:32:13 -0700
The case of downloading text and picture network programming based on HttpClient for Android
1, Operation effect
2, Implementation steps
1. Create android app DownloadTextImageByHttpClient
2, Main layout file activity main.xml
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://s ...
Posted by prasitc2005 on Sat, 02 May 2020 19:28:17 -0700
8, Architecture nginx practical application
(1) Introduction of web service software
There are three kinds of software commonly used to provide static Web services:
This is the mainstream of small and medium-sized Web services, the big brother of web servers.
The mainstream of Web services for large-scale websites, onc ...
Posted by cdinca on Sat, 02 May 2020 14:52:31 -0700
The original application ran with a single node, and the user always complained that the service response was very slow. In order to improve the user experience, we thought of trying to alleviate the multi-node load balancing
Because of the pressure of the server, we found the window version of nginx. According to the introduction of the para ...
Posted by onlinegamesnz on Sat, 02 May 2020 07:18:40 -0700
The last one is a brief introduction to SPARQL. This article introduces the basic schema query of SPARQL
Still use the example from the previous article:
<rdf:Description rdf:about="http://somew ...
Posted by Levan on Fri, 01 May 2020 22:27:02 -0700
Struts 2 provides the stream result type, which is specifically used to support the file download function. The following four properties are required to configure the result of stream type.
contentType: Specifies the file type of the downloaded file
inputName: Specifies the entry input stream of the downloaded file
Posted by greeneel on Fri, 01 May 2020 21:03:00 -0700
There are two classes: PrintStream and PrintWriter. The methods of the two classes are the same. The difference lies in the constructor
PrintStream: construction method: receive File type, receive string File name, receive byte output stream
PringWriter: construction method: receive File type, receive string File name, receive byt ...
Posted by strangermaster on Thu, 30 Apr 2020 05:20:32 -0700
Hbase API create table error record
import org.apa ...
Posted by fusionxn1 on Thu, 30 Apr 2020 02:57:56 -0700
Springboot configuration log configuration file location
Spring boot log classification
log4j: an open source log component implemented by apache
logback: it is also designed by the author of log4j. It has better features. It is a log framework used to replace log4j and is the native implementation ...
Posted by aris1234 on Tue, 28 Apr 2020 19:41:38 -0700
In this lesson, we mainly introduce the entry program of Flink and the implementation of SQL form.
In the last lesson, we have explained Flink's common application scenarios and architecture model design. In this lesson, we will start from a simple WordCount case and implement it in SQL mode at the same time, laying a solid foundation for the l ...
Posted by scoppc on Tue, 28 Apr 2020 03:13:19 -0700