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:
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的原创文章,请关注公众号"汪子熙":