spring mvc 错误

No 'Access-Control-Allow-Origin' header is present on the requested resource. Origin  //跨域问题

respons.setHeader("Access-Control-Allow-Origin", "*")

posted on 2016-08-18 17:42  上雨  阅读(126)  评论(1编辑  收藏  举报

导航