Aabsolute 绝对active 激活的align 对齐alpha 半透明度animation 卡通片绘制auto 自动aside 偏栏 Bbackground 背景bgcolor 背景颜色block 块;街区border 边框button 按钮border-radius 圆角br 换行bott ...
分类:
Web程序 时间:
2018-07-13 20:18:24
阅读次数:
265
jquery里面的ajax$.ajax({url: 必须填,请求的地址data: 请求的数据类型type: 请求的方式 get|post 默认getdataType: 服务器数据类型 html JSON JSONP text XMLasync: 同步异步 默认异步 truesuccess:funct ...
分类:
Web程序 时间:
2018-07-13 01:24:18
阅读次数:
128
一.解决get请求中文乱码的方案: 方案(推荐)1: 一般情况下tomcat(8之前)服务器的编码默认是ISO8859-1,所以要对get请求提交的参数进行重新编码: String userName = new String(request.getParamter("userName").getBy ...
分类:
其他好文 时间:
2018-07-11 21:17:36
阅读次数:
137
一、使用原因 由于nodejs原生的http核心模块在某些方面不足以应对开发需求,所以就需要使用框架来加快开发效率,让代码更高度统一。在nodejs中有许多web开发框架,以下介绍Express的使用 二、安装 三、初步使用 四、基本路由 ①get ②post 五、静态服务 六、利用express框 ...
分类:
其他好文 时间:
2018-07-11 19:58:03
阅读次数:
173
1. 请求长度的限制 在HTTP协议中,从未规定GET/POST的请求长度限制,对于GET,对url的限制来源于浏览器或web服务器,浏览器和服务器限制了url的长度。因此,在使用GET请求时,传输数据会受到URL长度的限制。对于POST,由于没有url传值,理论上是不会受到限制的,但是实际上各个服 ...
分类:
其他好文 时间:
2018-07-11 12:33:36
阅读次数:
175
* CURL 参照博客: http://www.cnblogs.com/CHEUNGKAMING/p/5717429.html http://www.php.net/manual/en/book.curl.php http://jp2.php.net/manual/en/function.curl- ...
分类:
Web程序 时间:
2018-07-08 18:56:47
阅读次数:
340
httpclient4.3.6 发送Get请求: HttpResponse httpGet(String url,Map<String,String> headers,String encode) 发送Post请求,同表单Post提交 HttpResponse httpPostForm(String ...
分类:
Web程序 时间:
2018-07-07 20:48:01
阅读次数:
320
定义和用法 ajax() 方法通过 HTTP 请求加载远程数据。 该方法是 jQuery 底层 AJAX 实现。简单易用的高层实现见 $.get, $.post 等。$.ajax() 返回其创建的 XMLHttpRequest 对象。大多数情况下你无需直接操作该函数,除非你需要操作不常用的选项,以获 ...
分类:
Web程序 时间:
2018-07-06 01:26:22
阅读次数:
198
参考https://blog.csdn.net/u012340794/article/details/71440604 使用curl 发送GET请求 curl http://localhost:8081/login?admin&asp;password=123456 使用curl 发送POST请求 ...
分类:
Web程序 时间:
2018-07-05 00:44:44
阅读次数:
223