前天第一次使用jquery向服务器发送Get请求。结果吸拜了...查看console提示说"No 'Access-Control-Allow-Origin' header is present on the requested resource. Origin 'null' is therefore not allowed access.",嗯好吧,google了一下才知道是跨域问题。...
分类:
数据库 时间:
2015-03-11 17:18:16
阅读次数:
219
主要是在header请求里加一个 X-Requested-With: XMLHttpRequestcurl -v -H "X-Requested-With: XMLHttpRequest" -e "http://bj.meituan.com/dianying/79232/" http://bj.me...
分类:
Web程序 时间:
2015-03-11 17:02:44
阅读次数:
453
ajax请求node.js接口出现了如下的错误:XMLHttpRequest cannot load http://xxx.xxx.xx.xx:8888/getTem?cityId=110105&date=2015-03-04. No 'Access-Control-Allow-Origin' he...
分类:
数据库 时间:
2015-03-06 18:36:34
阅读次数:
312
在测试GoldenGate Integrated Capture Mode的时候,启动抽取进程报 OGG-02050 Not enough database memory to honor requested MAX_SGA_SIZE 错误
参数配置如下:
GGSCI (zbdba1) 20> view param ext1
EXTRACT ext1
USERID ogg, PASSWO...
分类:
数据库 时间:
2015-03-04 11:11:26
阅读次数:
635
今天按照网上的指点安装Apache2.2,安装的过程很顺利,结果发现安装完成之 后右下角的Apache图标是红色的,也就是没有启动,好,那我点击图标,选择“start”,结果就出现了一个对话框提示“the requested operation has failed”。不能启动。非常郁闷,因为我完全...
分类:
Web程序 时间:
2015-03-04 06:12:01
阅读次数:
162
The server refused this request because the request entity is in a format not supported by the requested resource for the requested method1、Spring Mvc...
分类:
编程语言 时间:
2015-03-03 20:20:08
阅读次数:
143
django.core.exceptions.ImproperlyConfigured: Requested setting CACHES, but settings are not configured. You must either define the environment variable DJANGO_SETTINGS_MODULE or call settings.configur...
分类:
系统相关 时间:
2015-02-22 23:06:53
阅读次数:
1485
直接在extra/httpd-info.conf 增加以下内容SetHandler server-statusOrder deny,allow#Deny from allAllow from allExtendedStatus OnSetHandler server-infoOrder deny,a...
分类:
Web程序 时间:
2015-02-22 21:47:01
阅读次数:
187
三种不同精度的睡眠1.sleep#include
unsigned int sleep(unsigned int seconds);RETURN VALUE Zero if the requested time has elapsed, or the number of seconds left to sleep, if the call was interrupted by a sig...
分类:
系统相关 时间:
2015-02-18 16:28:26
阅读次数:
236
android在使用SQLiteDatabase插入数据时,抛出如下异常:
W/CursorWindow(25503): Window is full: requested allocation 5583269 bytes, free space 2096639 bytes, window size 2097152 bytes
解决方法:数据库表字段值如果超过2M,那么就把值存在文件中,然后把文件路径存在此字段中。...