今天研究了一些用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
作为一个苦逼前端开发工程师,不得不面对各种cross,比如面对五花八门的浏览器我们必须cross
browser,面对各种终端,我们必须cross device,在这么多年的前端开发经历中,在不同的域之间穿越中,遭受各种折磨,所以这次和大家分享的是cross
domain。这次分享的cross do...
分类:
其他好文 时间:
2014-05-10 01:47:55
阅读次数:
302
如果你对项目管理、系统架构有兴趣,请加微信订阅号“softjg”,加入这个PM、架构师的大家庭
业务逻辑层是专门处理软件业务需求的一层,处于数据库之上,服务层之下,完成一些列对Domain
Object的CRUD,作为一组微服务提供给服务层来组织在暴露给表现层,如库存检查,用法合法性检查,订单创建。...
分类:
其他好文 时间:
2014-05-10 01:12:53
阅读次数:
318
本实验采用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
经过是这样的:
在根目录下建立了一个文件夹weixin,之前通过www.domain.com/weixin访问,后来想改成二级域名weixin.domain.com访问,但通过U方法生成的路径中仍含有weixin/,通过输出__APP__的值发现也带weixin/,删除缓存~runtime.php文件后解决问题...
分类:
移动开发 时间:
2014-05-03 21:13:31
阅读次数:
308
在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
错误描述: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、获取主机信息@Test public void GetDomainInfo() throws
UnknownHostException { String domain = "www.baidu.com"; InetAddress netAddress =
InetAddress.getByN.....
分类:
编程语言 时间:
2014-04-29 16:18:55
阅读次数:
553
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