Skip to end of metadata
Go to start of metadata

Learn

How to set up CORS in Jetty

http://www.eclipse.org/jetty/documentation/current/cross-origin-filter.html, requires jetty-servlets.

The CrossOriginFilter should be configured on the backend server which expose the JSON over http APIs. In a scenario with a separate deployment unit which serves the frontend, only the backend server needs the CORS setup.

pom.xml
web.xml

Other resources

Labels:
None
Enter labels to add to this page:
Please wait 
Looking for a label? Just start typing.