I\'ve implemented CORS for my Spring MVC application. The following is in my Web.xml:
simpleCORSFilter