Cross domain issue for an pure HTML5 application on SAP Cloud Platform

Date: Thursday, 4. May 2017 at 04:55

I have created an SAPUI5 application using SAP WebIDE and deployed it to SAP Cloud Platform as an HTML5 application. This is an pure HTML5 application, not an Java application or others.
But when we got resources of the HTML5 application from another domain, there is an error message indicates cross-domain issue as follow:

Cross domain issue for an pure HTML5 application on SAP Cloud Platform

Actually I know it is the cross-domain issue. For a Java application on SAP CP, we could add ”Access-Control-Allow-Origin” header in sever settings (web.xml) to resolve the issue.
This is a known but unfortunate restriction.
要获取更多Jerry的原创文章,请关注公众号"汪子熙":
Cross domain issue for an pure HTML5 application on SAP Cloud Platform

上一篇:deep_learning_Function_softmax_cross_entropy_with_logits


下一篇:损失函数softmax_cross_entropy、binary_cross_entropy、sigmoid_cross_entropy之间的区别与联系