java/nekurak.net-rest/web/WEB-INF/web.xml
author František Kučera <franta-hg@frantovo.cz>
Tue Apr 06 00:32:12 2010 +0200 (2010-04-06)
changeset 93 ac53dcce11a9
parent 86 eb6fce71e85c
child 95 ec671fc8fb9c
permissions -rw-r--r--
Načítání konkrétního článku z DB
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@88
     4
	<servlet-name>REST</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@88
     9
	<servlet-name>REST</servlet-name>
franta-hg@88
    10
	<url-pattern>/*</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>