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

Sun, 10 May 2020 10:11:10 +0200

author
Mike Becker <universe@uap-core.de>
date
Sun, 10 May 2020 10:11:10 +0200
changeset 35
4fa33bfa8fb9
parent 29
27a0fdd7bca7
child 45
cc7f082c5ef3
permissions
-rw-r--r--

fixes wrong location of log4j2.properties

<?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>
    <error-page>
        <error-code>404</error-code>
        <location>/error/404</location>
    </error-page>
    <error-page>
        <error-code>403</error-code>
        <location>/error/403</location>
    </error-page>
    <error-page>
        <error-code>500</error-code>
        <location>/error/500</location>
    </error-page>
</web-app>

mercurial