Skip to content

Instantly share code, notes, and snippets.

View arjunkori's full-sized avatar

Arjun Kori arjunkori

  • Koricorp LTD
  • Mumbai,Maharastra,India
  • 05:11 (UTC +05:30)
View GitHub Profile
@arjunkori
arjunkori / CORSFilter.java
Created January 12, 2018 15:05 — forked from zeroows/CORSFilter.java
To enable CORS support in Spring MVC 4 - Access-Control-Allow-Origin
package com.elm.mb.rest.filters;
import java.io.IOException;
import javax.servlet.FilterChain;
import javax.servlet.ServletException;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import org.apache.commons.logging.Log;