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.

Your Answer

By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

Browse other questions tagged or ask your own question.