src/main/webapp/WEB-INF/web.xml

Thu, 19 Nov 2020 13:58:54 +0100

author
mike@uapl01.localdomain
date
Thu, 19 Nov 2020 13:58:54 +0100
changeset 159
86b5d8a1662f
parent 72
0646c14e36fb
child 254
55ca6cafc3dd
permissions
-rw-r--r--

migrates DAO classes

<?xml version="1.0" encoding="UTF-8"?>
<web-app version="3.1" xmlns="http://xmlns.jcp.org/xml/ns/javaee" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
         xsi:schemaLocation="http://xmlns.jcp.org/xml/ns/javaee http://xmlns.jcp.org/xml/ns/javaee/web-app_3_1.xsd">
    <session-config>
        <session-timeout>
            30
        </session-timeout>
    </session-config>
    <context-param>
        <param-name>available-languages</param-name>
        <param-value>en,de</param-value>
    </context-param>
    <resource-ref>
        <description>Application Database</description>
        <res-ref-name>jdbc/lightpit/app</res-ref-name>
        <res-type>javax.sql.DataSource</res-type>
        <res-auth>Container</res-auth>
        <lookup-name>java:/jdbc/lightpit/app</lookup-name>
    </resource-ref>
    <error-page>
        <location>/error/generic</location>
    </error-page>
</web-app>

mercurial