Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [jetty-users] Jetty Cross Origin Filter

Hi,

On Mon, Nov 28, 2011 at 23:08, Ari King <ari.brandeis.king@xxxxxxxxx> wrote:
> To solve the "ClassNotFoundException" I needed to add
> jetty-servlets.jar to the classpath; originally, I assumed it was
> already on the classpath. While jetty now runs, I continue to be
> unable to do cross origin resource sharing (CORS); specifically, I get
> the error:
>
> "Origin http://localhost:8081 is not allowed by Access-Control-Allow-Origin."
>
> I've included my override descriptor below; does anyone know what
> could be wrong? Thanks.

The most common case of problems in CORS is the fact that you're
sending a request with headers that are not allowed.

We would need the exact request dump to be able to say more.

Simon
-- 
http://cometd.org
http://intalio.com
http://bordet.blogspot.com
----
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


Back to the top