Is it possible to enable CORS on the web pages that are deployed within a war?
More specifically, I have a couple of .json pages located in src/main/webapp which are packaged with my war. I can't edit their response headers in the same fashion you would with REST resources by adding response headers.
My guess is that this is something I would have to setup in the glassfish admin console but I've had no luck there.
How about adding an Filter for the path you want like "/static/*.json" and set the response headers in the filter ?