java/sql-vyuka/web/WEB-INF/web.xml
author František Kučera <franta-hg@frantovo.cz>
Wed Jan 27 21:24:33 2010 +0100 (2010-01-27)
changeset 74 48066e753dd6
parent 32 de496b29191b
child 86 a51bbc91a4cb
permissions -rw-r--r--
Vlastní (stručné) chybové hlášky (404 a 500), IP adresa pro reverzní proxy (provizorně).
     1 <?xml version="1.0" encoding="UTF-8"?>
     2 <web-app version="2.5" 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_2_5.xsd">
     3     <session-config>
     4         <session-timeout>
     5             60
     6         </session-timeout>
     7     </session-config>
     8     <welcome-file-list>
     9         <welcome-file>index.jsp</welcome-file>
    10     </welcome-file-list>
    11     <error-page>
    12         <error-code>404</error-code>
    13         <location>/WEB-INF/chyby/404.jsp</location>
    14     </error-page>
    15     <error-page>
    16         <error-code>500</error-code>
    17         <location>/WEB-INF/chyby/500.jsp</location>
    18     </error-page>
    19 </web-app>