CORS (Cross Origin Resource Sharing) is a mechanism supported by W3C to enable cross domain requests in web-browsers. CORS requires support from both browser and server to work.  This is a Java servlet filter implementation of server-side CORS for web containers such as Apache Tomcat.