1 function createCORSRequest(method, url){ 2 var xhr = new XMLHttpRequest(); 3 4 if("withCredentials" in xhr){ 5 xhr.open(me...
分类:
其他好文 时间:
2014-06-27 22:02:10
阅读次数:
159
问题1:异常:in expected: (possibly an invalid or unmapped class name was used in the query) [from Customer]解决方案:查看HQL语句查询的是否是实体类,映射文件属性是否正确:复制到输出目录à始终复制 。....
分类:
系统相关 时间:
2014-06-27 20:57:29
阅读次数:
606
//导入这个就行了#import //没有导包的时候,提示如下:Implicit declaration of function 'CC_MD5' is invalid in C99CC_MD5( cStr, strlen(cStr),result);
分类:
其他好文 时间:
2014-06-26 23:50:53
阅读次数:
1090
http://feilong.me/2011/07/talk-about-polling-and-long-polling轮询(Polling)是指不管服务器端有没有更新,客户端(通常是指浏览器)都定时的发送请求进行查询,轮询的结果可能是服务器端有新的更新过来,也可能什么也没有,只是返回个空的信息。...
分类:
Web程序 时间:
2014-06-26 16:23:24
阅读次数:
328
解决QT:forward declaration of 'struct Ui::xxx';invalid use of incomplete struct "Ui::Widget" 等莫名奇妙错误...
分类:
其他好文 时间:
2014-06-26 08:14:03
阅读次数:
260
com.fasterxml.jackson.core.JsonParseException: Invalid UTF-8 middle byte 0xc9...
分类:
Web程序 时间:
2014-06-26 07:59:47
阅读次数:
5316
14年6月10日 今天在备份数据又出了状况:所有文件名中含有非英文字符的文件都被从Linux server上删除,而当要重新拷贝Windows下该文件时,则显示错误:invalid or incomplete multibyte or wide character看来是文件名编码出了问题。在Cygw...
先上笑话,1.刚看到一个游泳的,想起公司组织去三亚旅游,老板跳海里,各种挣扎,捞上来老板第一句话:我记得我会游泳的啊。 2.媳妇说:老公对不起,我把你新买的自行车撞散架了! 老公:没事宝贝,你若安好,便是晴天! 媳妇说:老公你太有诗意了。 老公:滚犊子,安不好我整死你!数组的概念javascript...
分类:
编程语言 时间:
2014-06-25 11:39:25
阅读次数:
257
Well , you know. As a college student who want to find a good job after graduating like me , scores are not that important. I just want to have some low scores which can help me graduate successfully...
分类:
其他好文 时间:
2014-06-25 09:59:37
阅读次数:
202
Python中的异常类型转自http://blog.csdn.net/fcoolx/archive/2009/05/20/4202872.aspx1、NameError:尝试访问一个未申明的变量>>>vNameError:name‘v‘isnotdefined2、ZeroDivisionError:除数为0>>>v=1/0ZeroDivisionError:intdivisionormodulobyzero3、Synt..
分类:
编程语言 时间:
2014-06-24 16:43:45
阅读次数:
229