2

Cross-Origin Resource Sharing is a mechanism that enables cross-origin requests[1]. As you can see in the link [1], It is easy to enable CORS in Apache Tomcat 7. Just a configuration in the file web.xml.

As i'm testing a service with Glassfish normally performed over Tomcat in order to decide a migration from Tomcat to Glassfish, i need to enable CORS on Glassfish.

so how?

I'm using Glassfish 3.0.1.

jgomo3
  • 121
  • 1
  • 5

0 Answers0