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

Sat, 30 Dec 2023 13:34:06 +0100

author
Mike Becker <universe@uap-core.de>
date
Sat, 30 Dec 2023 13:34:06 +0100
changeset 297
24155683fc89
parent 279
d73537b925af
permissions
-rw-r--r--

add another stupid magic command to gradle file because things stop working by default

<?xml version="1.0" encoding="UTF-8"?>
<web-app xmlns="https://jakarta.ee/xml/ns/jakartaee"
         xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
         xsi:schemaLocation="https://jakarta.ee/xml/ns/jakartaee https://jakarta.ee/xml/ns/jakartaee/web-app_6_0.xsd"
         version="6.0">
    <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>
    <context-param>
        <param-name>hg-binary</param-name>
        <param-value>/usr/bin/hg</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