adding response header to Jetty config file

Posted by Sam007 on Server Fault See other posts from Server Fault or by Sam007
Published on 2012-05-24T21:57:15Z Indexed on 2012/10/07 9:40 UTC
Read the original article Hit count: 190

Filed under:
|

I am trying to add a response header to the Jetty configuration the following command,

Access-Control-Allow-Origin: *

Ok so this Jetty webserver is the base on which Geoserver is running. I asked this question in the GIS forum but no one was able to answer it so I felt I might get the answer here. I wish to add this response to the header to remove the error

Unable to load XMLHttpRequest

I wish to know that under which tags should I wrap this response header and where in the file should I save it.

© Server Fault or respective owner

Related posts about jetty

Related posts about xmlhttp