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.
franta-hg@86
     1
<?xml version="1.0" encoding="UTF-8"?>
franta-hg@86
     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">
franta-hg@86
     3
    <servlet>
franta-hg@86
     4
	<servlet-name>ServletAdaptor</servlet-name>
franta-hg@86
     5
	<servlet-class>com.sun.jersey.spi.container.servlet.ServletContainer</servlet-class>
franta-hg@86
     6
	<load-on-startup>1</load-on-startup>
franta-hg@86
     7
    </servlet>
franta-hg@86
     8
    <servlet-mapping>
franta-hg@86
     9
	<servlet-name>ServletAdaptor</servlet-name>
franta-hg@86
    10
	<url-pattern>/zdroje/*</url-pattern>
franta-hg@86
    11
    </servlet-mapping>
franta-hg@86
    12
    <session-config>
franta-hg@86
    13
	<session-timeout>
franta-hg@86
    14
	    30
franta-hg@86
    15
	</session-timeout>
franta-hg@86
    16
    </session-config>
franta-hg@86
    17
</web-app>