PageRenderTime 50ms CodeModel.GetById 46ms app.highlight 1ms RepoModel.GetById 1ms app.codeStats 0ms

/src/main/webapp/WEB-INF/web.xml

http://github.com/yamsellem/JavaScript-Java
XML | 31 lines | 29 code | 2 blank | 0 comment | 0 complexity | fe080ba101536075c78dbe6d247b14e9 MD5 | raw file
 1<?xml version="1.0" encoding="utf-8"?>
 2<web-app xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://java.sun.com/xml/ns/javaee"
 3	xmlns:web="http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd" xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd"
 4	version="2.5">
 5
 6	<servlet>
 7		<servlet-name>Jersey</servlet-name>
 8		<servlet-class>com.sun.jersey.spi.container.servlet.ServletContainer</servlet-class>
 9		<init-param>
10			<param-name>com.sun.jersey.config.property.packages</param-name>
11			<param-value>com.xebia.resource</param-value>
12		</init-param>
13		<init-param>
14			<param-name>com.sun.jersey.api.json.POJOMappingFeature</param-name>
15			<param-value>true</param-value>
16		</init-param>
17		<init-param>
18			<param-name>com.sun.jersey.spi.container.ContainerRequestFilters</param-name>
19			<param-value>com.sun.jersey.api.container.filter.LoggingFilter</param-value>
20		</init-param>
21		<init-param>
22			<param-name>com.sun.jersey.spi.container.ContainerResponseFilters</param-name>
23			<param-value>com.sun.jersey.api.container.filter.LoggingFilter</param-value>
24		</init-param>
25	</servlet>
26
27	<servlet-mapping>
28		<servlet-name>Jersey</servlet-name>
29		<url-pattern>/resource/*</url-pattern>
30	</servlet-mapping>
31</web-app>