2015年2月10日

利用cors,实现js跨域访问Tomcat下资源

摘要: 第一步:页面js代码:function createCORSRequest(method, url){ var xhr = new XMLHttpRequest(); if ("withCredentials" in xhr){ xhr.open(method, url, ... 阅读全文

posted @ 2015-02-10 11:21 chuxiong 阅读(13138) 评论(1) 推荐(1) 编辑

导航