一、概述1.1 什么是RESTful1.2 URL的RESTful实现二、演示2.1 需求2.2 第一步更改DispatcherServlet配置2.3 第二步参数通过url传递2.4 设置静态资源解析一、概述1.1 什么是RESTfulRESTful软件开发理念,RESTful对http进行非常好... ...
分类:
编程语言 时间:
2019-11-28 13:14:26
阅读次数:
70
完成三次握手,客户端与服务器开始传送数据 A与B建立TCP连接时:首先A向B发SYN(同步请求),然后B回复SYN+ACK(同步请求应答),最后A回复ACK确认,这样TCP的一次连接(三次握手)的过程就建立了! ...
分类:
其他好文 时间:
2019-11-27 23:14:43
阅读次数:
99
进行对字符串扩展,正则扩展,数值扩展,函数扩展,对象扩展,数组扩展。 开发环境准备: 编辑器(VS Code, Atom,Sublime)或者IDE(Webstorm) 浏览器最新的Chrome 字符串的扩展: 模板字符串,部分新的方法,新的unicode表示和遍历方法: 部分新的字符串方法 pad ...
分类:
其他好文 时间:
2019-11-25 18:24:46
阅读次数:
66
const numbers = ['one', 'two', 'three', 'four'] es5: const one = numbers[0]; //one const two = numbers[1]; //two es6: 获取到相应位置的数组原素的值 const [one, two] ...
分类:
编程语言 时间:
2019-11-25 11:49:11
阅读次数:
72
作为一门计算机编程语言,python与其它语言一样,设有若干种数据类型,准确掌握各种数据类型的常用方法是精通python的必要条件,也是熟练使用各数据类型、最大限度发挥它们功能的基本条件。 python常用的数据类型有Numbers(数字)、String(字符串)、List(列表)、Tuple(元组 ...
分类:
编程语言 时间:
2019-11-25 09:23:25
阅读次数:
67
D2. Optimal Subsequences (Hard Version) This is the harder version of the problem. In this version, 1≤n,m≤2?105. You can hack this problem if you lock ...
分类:
其他好文 时间:
2019-11-25 00:14:02
阅读次数:
72
CSI 403 Data Structures and Algorithms Fall 2019Homework IV HurdProblem 1 [25 pts]:Given the sequence of numbers: 20, 7, 34, 29, 43, 40, 8, 12, 30, 42 ...
分类:
其他好文 时间:
2019-11-24 19:36:57
阅读次数:
88
A strobogrammatic number is a number that looks the same when rotated 180 degrees (looked at upside down). Find all strobogrammatic numbers that are o ...
分类:
其他好文 时间:
2019-11-24 09:33:35
阅读次数:
65
原文 Parquet 列式存储格式 面向分析型业务的列式存储格式 由 Twitter 和 Cloudera 合作开发,2015 年 5 月从 Apache 的孵化器里毕业成为 Apache 顶级项目 列式存储 列式存储和行式存储相比有哪些优势呢? 当时 Twitter 的日增数据量达到压缩之后的 1 ...
分类:
其他好文 时间:
2019-11-23 20:28:46
阅读次数:
83
#include<stdio.h> int main(){ int i,j,temp,a[10]; printf("please input 10 numbers:"); for(i=0;i<10;i++) { scanf("%d",&a[i]); } printf("\n"); for(i=0;i ...
分类:
编程语言 时间:
2019-11-23 18:14:56
阅读次数:
76