No 'Access-Control-Allow-Origin' header is present on the requested resource in JBoss EAP 6
Issue
- We have an ajax application and it have a request redirecting to another domain, the browser say:
"XMLHttpRequest cannot load: "URL". No 'Access-Control-Allow-Origin' header is present on the requested resource. Origin 'http://appcore.cosanitas.com' is therefore not allowed access"
We need to enable cross-domain for this application or for its instance. How we can configure it in JBoss?
Environment
- Red Hat Enterprise Application Platform (EAP)
- 6.x
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.