Re: [jetty-user] Create a cross-origin filter in jetty.xml to allow remote requests
Simone Bordet <[email protected]> Fri, 13 Jul 2012 19:12:51 +0200
| Newsgroups | gmane.comp.java.jetty.support |
|---|---|
| Message-ID | <CAFWmRJ0uM04fQT_YuHOEZtjn6gXkOiwAqHkOnhpsq5EpHainkA@mail.gmail.com> |
Hi, On Fri, Jul 13, 2012 at 6:23 PM, uk52rob <[email protected]> wrote: > Hi, > > How do I create a cross-origin filter in the jetty XML file to allow a > XMLHttpRequest through from another webserver? The usual "Origin (site-name) > is not allowed by Access-Control-Allow-Origin" appears. Sorry, I do not understand your problem. CrossOriginFilter works out of the box with XMLHttpRequests. Simon -- http://cometd.org http://webtide.com Developer advice, services and support from the Jetty & CometD experts. ---- Finally, no matter how good the architecture and design are, to deliver bug-free software with optimal performance and reliability, the implementation technique must be flawless. Victoria Livschitz --------------------------------------------------------------------- To unsubscribe from this list, please visit: http://xircles.codehaus.org/manage_email