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

Sat, 16 May 2020 17:22:45 +0200

author
Mike Becker <universe@uap-core.de>
date
Sat, 16 May 2020 17:22:45 +0200
changeset 56
11b1e7153496
parent 53
6a8498291606
child 72
0646c14e36fb
permissions
-rw-r--r--

re-adds context.xml (it only worked because the already deployed context.xml was not deleted...)

<?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