http
Sun 00
这个作者很懒,什么都没留下…
展开
-
java发http请求,原地址:https://blog.csdn.net/ludonglue/article/details/78038643
1.使用jdk提供的URLConnection 2.使用apache提供的HttpClient(封装了jdk)一、使用URLConnect进行http请求public static void main(String[] args) { //发送 GET 请求 String s=HttpRequest.sendGet("http://baidu.com...转载 2018-07-30 18:39:13 · 253 阅读 · 0 评论 -
java http请求jdk:原地址:https://blog.csdn.net/qq_33391644/article/details/80590762
1、post(参数json格式) try { //请求地址 URL urlHttp = new URL(StaticData.URL+"/condition/query_camera"); // 将url 以 open方法返回的urlConnection 连接强转为HttpURLConnection连接 (标识一个url所引用的远程对象连接) Htt...转载 2018-07-30 18:41:03 · 165 阅读 · 0 评论 -
html中禁止文字的复制
直接在body标签中写入如下代码,即可实现在html中禁止文字的复制:<body oncontextmenu='return false' ondragstart='return false' onselectstart ='return false' onselect='document.selection.empty()' oncopy='document.selection.empt...转载 2018-08-09 15:34:23 · 1798 阅读 · 0 评论 -
bootstrap-select 回显选中值
原创 2018-08-09 18:22:45 · 9092 阅读 · 0 评论 -
bootstrap-select 搜索下拉框 获取选中值
<select id="id_reconciliationDate" class="selectpicker show-tick form-control" data-live-search="true" name="reconciliationDate" data-rule-reconciliationDate="[/^((0?[1-9])|((1)[0-9])|((...原创 2018-08-10 11:47:47 · 31180 阅读 · 2 评论