Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVA

enable cors on apache tomcat

<filter>
    <filter-name>CorsFilter</filter-name>
    <filter-class>org.apache.catalina.filters.CorsFilter</filter-class>
</filter>
<filter-mapping>
    <filter-name>CorsFilter</filter-name>
    <url-pattern> /* </url-pattern>
</filter-mapping>
Source by docs.motechproject.org #
 
PREVIOUS NEXT
Tagged: #enable #cors #apache #tomcat
ADD COMMENT
Topic
Name
7+2 =