META-INF.web-fragment.xml Maven / Gradle / Ivy
<?xml version="1.0" encoding="UTF-8"?> <web-fragment xmlns="http://java.sun.com/xml/ns/javaee" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-fragment_3_0.xsd" version="3.0"> <name>groovity_events</name> <servlet> <servlet-name>defaultWrapper</servlet-name> <servlet-class>com.disney.groovity.servlet.DefaultWrapperServlet</servlet-class> </servlet> <servlet-mapping> <servlet-name>defaultWrapper</servlet-name> <url-pattern>/static/groovity/events/*</url-pattern> </servlet-mapping> <mime-mapping> <extension>js</extension> <mime-type>application/javascript</mime-type> </mime-mapping> </web-fragment>