WEB-INF.web.xml Maven / Gradle / Ivy
<?xml version="1.0" encoding="UTF-8"?> <web-app 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-app_2_5.xsd" version="2.5"> <listener> <listener-class>com.netflix.exhibitor.servlet.ExhibitorServletContextListener</listener-class> </listener> <filter> <filter-name>default-redirect</filter-name> <filter-class>com.netflix.exhibitor.servlet.ExhibitorServletFilter</filter-class> </filter> <filter-mapping> <filter-name>default-redirect</filter-name> <url-pattern>/</url-pattern> </filter-mapping> <servlet> <servlet-name>Jersey REST Service</servlet-name> <servlet-class>com.sun.jersey.spi.container.servlet.ServletContainer</servlet-class> <init-param> <param-name>com.sun.jersey.config.property.resourceConfigClass</param-name> <param-value>com.netflix.exhibitor.servlet.ExhibitorResourceConfig</param-value> </init-param> <load-on-startup>1</load-on-startup> </servlet> <servlet-mapping> <servlet-name>Jersey REST Service</servlet-name> <url-pattern>/*</url-pattern> </servlet-mapping> </web-app>