新建一个filter 另外web.xml中增加如下配置 http://hw1287789687.iteye.com/blog/2212292 ...
分类:
编程语言 时间:
2017-02-18 12:29:19
阅读次数:
178
Android中数据库处理使用cursor时,游标不是放在为0的下标,而是放在为-1的下标处开始的。 也就是说返回给cursor查询结果时,不能够马上从cursor中提取值。 下面的代码会返回错误 正确的用法 ...
分类:
移动开发 时间:
2017-02-13 12:19:57
阅读次数:
172
githubpush错误:gitpush-uoriginmaster
error:TherequestedURLreturnederror:403Forbiddenwhileaccessinghttps://github.com/huangzhazha/studygit.git/info/refs
fatal:HTTPrequestfailedgitversion1.7.1OS:CENTOS解决方案:vim.Git/config修改[remote"origin"]
url=https://..
分类:
数据库 时间:
2017-02-08 00:05:39
阅读次数:
189
同步仓库并解决403报错 这时候对本地仓库和github进行同步 # git push -u origin master error: The requested URL returned error: 403 Forbidden while accessing https://github.com ...
分类:
其他好文 时间:
2017-02-07 12:34:46
阅读次数:
425
原文:JQuery Ajax 在asp.net中使用总结自从有了JQuery,Ajax的使用变的越来越方便了,但是使用中还是会或多或少的出现一些让人短时间内痛苦的问题。本文暂时总结一些在使用JQuery Ajax中应该注意的问题,如有不恰当或者不完善的地方,欢迎大家指正和补充。 本文将从Ajax请求... ...
分类:
Web程序 时间:
2017-01-12 11:59:53
阅读次数:
271
跨域,前端开发中经常遇到的问题,AngularJS实现跨域方式类似于Ajax,使用CORS机制。 下面阐述一下AngularJS中使用$http实现跨域请求数据。 AngularJS XMLHttpRequest:$http用于读取远程服务器的数据 一、$http.jsonp【实现跨域】 1. 指定 ...
分类:
Web程序 时间:
2017-01-09 18:52:51
阅读次数:
243
声明,解决方案由网上收集而来,个人整理。有别人的,也有我的。 一、webserive端 1.web.config 需要在web.config的configuration节点中加入如下的黑体部分内容。 <system.web> <webServices> <protocols> <add name=" ...
分类:
Web程序 时间:
2017-01-05 17:58:44
阅读次数:
254
apache启动失败报错: The Apache service named reported the following error:>>> AH00451: no listening sockets available, shutting down . The Apache service na ...
分类:
Windows程序 时间:
2017-01-03 21:07:24
阅读次数:
1676
requestType = request.getHeader("X-Requested-With"); if(requestType==null){//form表单请求 }else{//ajax请求 } ...
分类:
编程语言 时间:
2016-12-31 10:31:17
阅读次数:
182
今天试了下 bind IPv6 的地址,报错 Can't assign requested address http://stackoverflow.com/questions/24780404/python-tcp-socket-with-ipv6-address-failed http://bl ...
分类:
其他好文 时间:
2016-12-28 19:45:50
阅读次数:
187