今天研究了一些用jquery $.ajax跨域的方法,总结了一些注意事项如下:
首先,跨域JSONP不是AJAX。它不使用XMLHttpRequest。只不过是一个动态脚本元素加载JavaScript代码。Cross-domain
JSONP isn’t AJAX at all. It doesn’...
分类:
Web程序 时间:
2014-07-22 23:16:14
阅读次数:
544
AF解析json出错:
Error Domain=NSCocoaErrorDomain Code=3840 "The operation couldn’t be completed. (Cocoa error 3840.)"
(JSON text did not start with array or object and option to allow fragments not set....
分类:
其他好文 时间:
2014-07-22 23:04:13
阅读次数:
400
本实验采用Spring中配置Action,Spring代理生成Struts的类-->Dept.javapackage
cn.itcast.domain;public class Dept { private Integer id; private String deptno;
private Str...
分类:
其他好文 时间:
2014-05-06 00:00:14
阅读次数:
333
ABAP中的颜色代码是由4位字都组成的cxyzc:color的简写,颜色代码均以C开头x:标准色代码,SAP中一共有7个标准色
y:反转颜色启用/关闭 1/0 z:增强颜色启用/关闭 1/0标准色代码一览表
X颜色主要用处1灰蓝色抬头、标题栏2浅灰色列表内容3黄色汇总4蓝色关键字5绿色正确6红色错....
分类:
其他好文 时间:
2014-05-01 21:22:13
阅读次数:
400
在Ubuntu , Debian或者Mint:$ sudo vi
/etc/environmenthttp_proxy="http://proxy.com:8000"no_proxy="127.0.0.1,
localhost, *.cnn.com, 192.168.1.10, domain.com...
分类:
系统相关 时间:
2014-05-01 11:27:54
阅读次数:
1617
ABAP中FORM参数的传递有以下几种方式。 1.引用传递(CALL BY REFERENCE)
传递参数时将参数的地址(ADDRESS)传至子程序中,也就是子程序中的参数变量与外部程序的参数变量共享地址内的值。又叫CALL BY
ADDRESS,若子程序中的参数变量的值发生了改变,那么,外...
分类:
其他好文 时间:
2014-05-01 08:39:35
阅读次数:
339
ABAP开发中,使用for all entries
in语句将不能使用join的聚集表(例如BSEG)或者需要使用select的内表与内表串联。以BSEG为例:select belnr hkontfrom
bsisinto corresponding fields of table itab1whe...
分类:
其他好文 时间:
2014-05-01 08:38:54
阅读次数:
336
错误描述:Illegal overloaded getter method with
ambiguous type for property parent in class class cn.domain.Menu. This breaks
the JavaBeans specification a...
分类:
其他好文 时间:
2014-04-30 15:24:40
阅读次数:
6857
常用的系统变量如下:1. SY-PAGNO当前页号2. SY-DATUM当前时间3.
SY-LINSZ当前报表宽度4. SY-LINCT当前报表长度5. SPACE空字符6. SY-SUBRC执行状态为0,表示成功.7. SY-UNAME
用户名8. SY-UZEIT当前时间9. SY-TCODE当...
分类:
其他好文 时间:
2014-04-30 13:13:25
阅读次数:
495
Java代理Internet2013年10月23日23:14 Java HTTP
ProxySettings OVERVIEW For local networks within an organization, access to the
public-domain Internet is oft...
分类:
编程语言 时间:
2014-04-29 10:36:46
阅读次数:
537