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

Sat, 09 Nov 2024 11:47:20 +0100

author
Mike Becker <universe@uap-core.de>
date
Sat, 09 Nov 2024 11:47:20 +0100
changeset 335
1eed60b779da
parent 279
d73537b925af
permissions
-rw-r--r--

change language menu to settings menu and add timezone settings - fixes #402

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