Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [jetty-users] CrossOriginFilter

Hello

 

You have to use WebAppContext (or at least ServletContextHandler) to do that.

 

> Message du 22/08/20 20:34
> De : "Kara McElwrath" <kmcelwrath@xxxxxxxxx>
> A : jetty-users@xxxxxxxxxxx
> Copie à :
> Objet : [jetty-users] CrossOriginFilter
>
>
Hello, we are running jetty-9.4.30.v20200611 and it is working well for a Java application which has its own web.xml.  
>
> Additionally, in $JETTY_BASE/webapps I have a static.xml file configured for serving static content via a ResourceHandler.  I need to set up a CrossOriginFilter filter for the static content.  In what file/location do I add CrossOriginFilter filter and filter-mapping block for the static content?
>
> Thanks in advance.
>



_______________________________________________
jetty-users mailing list
jetty-users@xxxxxxxxxxx
To unsubscribe from this list, visit https://www.eclipse.org/mailman/listinfo/jetty-users


Back to the top