java/nekurak.net-rest/web/WEB-INF/web.xml
author František Kučera <franta-hg@frantovo.cz>
Mon, 05 Apr 2010 22:30:08 +0200
changeset 90 0967d5e3b470
parent 88 a5339bcce9a2
child 95 ec671fc8fb9c
permissions -rw-r--r--
generování XML vycpávkového článku
     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>REST</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>REST</servlet-name>
    10 	<url-pattern>/*</url-pattern>
    11     </servlet-mapping>
    12     <session-config>
    13 	<session-timeout>
    14 	    30
    15 	</session-timeout>
    16     </session-config>
    17 </web-app>