CORS issue with Tomcat and Android Webview

后端 未结 5 775
南笙
南笙 2021-02-15 12:38

I am facing a strange problem with Tomcat 8 and CORS. I am developing a Hybrid web app using ionicframework, AngularJS, Cordova as front end and Tomcat 8 and Spring 3 as back-en

5条回答
  •  感动是毒
    2021-02-15 13:43

    I had the same problem.My solution is that my tomcat version is 7.x,it does not support http header “Origin=file://”,i changed my tomcat version to 8.x,and it works for me.

    Hope it may help!

提交回复
热议问题