java/nekurak.net-rest/web/WEB-INF/web.xml
author František Kučera <franta-hg@frantovo.cz>
Mon, 05 Apr 2010 15:21:14 +0200
changeset 86 eb6fce71e85c
child 88 a5339bcce9a2
permissions -rw-r--r--
Základ REST API.
     1 <?xml version="1.0" encoding="UTF-8"?>
     2 <web-app version="3.0" 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_3_0.xsd">
     3     <servlet>
     4 	<servlet-name>ServletAdaptor</servlet-name>
     5 	<servlet-class>com.sun.jersey.spi.container.servlet.ServletContainer</servlet-class>
     6 	<load-on-startup>1</load-on-startup>
     7     </servlet>
     8     <servlet-mapping>
     9 	<servlet-name>ServletAdaptor</servlet-name>
    10 	<url-pattern>/zdroje/*</url-pattern>
    11     </servlet-mapping>
    12     <session-config>
    13 	<session-timeout>
    14 	    30
    15 	</session-timeout>
    16     </session-config>
    17 </web-app>