Skip to content

Instantly share code, notes, and snippets.

@imamabudaud
Created May 1, 2013 12:01
Show Gist options
  • Save imamabudaud/5494917 to your computer and use it in GitHub Desktop.
Save imamabudaud/5494917 to your computer and use it in GitHub Desktop.
Spring: Allow Cross-domain JSON
<filter>
<filter-name>corsFilter</filter-name>
<filter-class>org.springframework.web.filter.DelegatingFilterProxy</filter-class>
</filter>
<filter-mapping>
<filter-name>corsFilter</filter-name>
<url-pattern>/*</url-pattern>
</filter-mapping>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment