java/sql-vyuka/web/WEB-INF/web.xml
author František Kučera <franta-hg@frantovo.cz>
Mon Nov 09 18:57:24 2020 +0100 (2020-11-09)
changeset 86 a51bbc91a4cb
parent 74 48066e753dd6
permissions -rw-r--r--
zprovoznění v aplikačním serveru Tomcat / TomEE
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@86
    19
    <resource-ref>
franta-hg@86
    20
        <description>DB spojení: aplikace</description>
franta-hg@86
    21
        <res-ref-name>jdbc/sqlVyuka/aplikace</res-ref-name>
franta-hg@86
    22
        <res-type>javax.sql.DataSource</res-type>
franta-hg@86
    23
        <res-auth>Container</res-auth>
franta-hg@86
    24
    </resource-ref>
franta-hg@86
    25
    <resource-ref>
franta-hg@86
    26
        <description>DB spojení: pískoviště</description>
franta-hg@86
    27
        <res-ref-name>jdbc/sqlVyuka/piskoviste</res-ref-name>
franta-hg@86
    28
        <res-type>javax.sql.DataSource</res-type>
franta-hg@86
    29
        <res-auth>Container</res-auth>
franta-hg@86
    30
    </resource-ref>
franta-hg@11
    31
</web-app>