![]() It's a simple servlet filter and should be usable in other servlet containers, such as Tomcat, JBoss AS or Glassfish.įor OpenLink Virtuoso (Basic Web Sites, Linked Data Spaces, SPARQL Endpoints, and otherwise) The CrossOriginFilter can also be configured in the webdefault.xml to apply to all applications the jetty-servlets JAR is already bundled within Jetty for this use-case. Include the jetty-servlets JAR into you WEB-INF/lib and merge this into your WEB-INF/web.xml: Jetty 7 ( starting with 7.0.0.RC2 to be exact) ships with a CrossOriginFilter. Enter Access-Control-Allow-Origin as the header name.In the Custom HTTP headers section, click Add.Right click the site you want to enable CORS for and go to Properties. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |