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ě).
franta-hg@8
     1
<?xml version="1.0" encoding="UTF-8"?>
franta-hg@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">
franta-hg@8
     3
    <session-config>
franta-hg@8
     4
        <session-timeout>
franta-hg@18
     5
            60
franta-hg@8
     6
        </session-timeout>
franta-hg@8
     7
    </session-config>
franta-hg@8
     8
    <welcome-file-list>
franta-hg@8
     9
        <welcome-file>index.jsp</welcome-file>
franta-hg@11
    10
    </welcome-file-list>
franta-hg@74
    11
    <error-page>
franta-hg@74
    12
        <error-code>404</error-code>
franta-hg@74
    13
        <location>/WEB-INF/chyby/404.jsp</location>
franta-hg@74
    14
    </error-page>
franta-hg@74
    15
    <error-page>
franta-hg@74
    16
        <error-code>500</error-code>
franta-hg@74
    17
        <location>/WEB-INF/chyby/500.jsp</location>
franta-hg@74
    18
    </error-page>
franta-hg@11
    19
</web-app>