CORS on Tomcat

Apache Tomcat includes support for CORS (Starting from Tomcat version 7.0.41). The full documentation can be found here:

Here is an example from those docs that demonstrates a minimal CORS configuration:


Who’s behind this

Monsur Hossain and Michael Hausenblas


The content on this site stays fresh thanks to help from users like you! If you have suggestions or would like to contribute, fork us on GitHub.

Buy the book

Save 39% on CORS in Action with promotional code hossainco at