解决Ajax跨域问题:Origin http://127.0.0.1:8080 is not allowed by Access-Control-Allow-Origin.

在服务端上设置一下header,如response.header("Access-Control-Allow-Origin","*");

解决Ajax跨域问题:Origin http://127.0.0.1:8080 is not allowed by Access-Control-Allow-Origin.,布布扣,bubuko.com

文章来自:http://www.cnblogs.com/leehongee/p/3598317.html
© 2021 jiaocheng.bubufx.com  联系我们
ICP备案:鲁ICP备09046678号-3