今天研究了一些用jquery $.ajax跨域的方法,总结了一些注意事项如下:
首先,跨域JSONP不是AJAX。它不使用XMLHttpRequest。只不过是一个动态脚本元素加载JavaScript代码。Cross-domain
JSONP isn’t AJAX at all. It doesn’...
分类:
Web程序 时间:
2014-07-22 23:16:14
阅读次数:
544
[share]path=/home/an/shareavailable=yesbrowse
able=yespublic=yeswritable=yessecurity = userusername map =
/etc/samba/smbusers[share]comment = Shared F...
分类:
其他好文 时间:
2014-07-22 23:11:34
阅读次数:
332
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
在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
Ubuntu12.04.4 Vmware 虚拟机安装总结
背景:最近准备入手一块树莓派(RaspberryPI),准备一下开发环境,可惜机器硬盘小,又舍不得格调Win7,所以只好装虚拟机了。考虑到对ubuntu12.04还熟悉,又是长期版,出了一段时间有问题可以解决。所以就没用刚出的Ubuntu14.04
涉及Ubuntu12.04.4安装,网络ssh samba配置,vmware tools安装,本文用Markdown编写...
分类:
其他好文 时间:
2014-04-28 10:36:41
阅读次数:
494