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

Fri, 15 May 2020 19:13:23 +0200

author
Mike Becker <universe@uap-core.de>
date
Fri, 15 May 2020 19:13:23 +0200
changeset 48
63200a99ea77
parent 45
cc7f082c5ef3
child 49
d9c24f0ab8f7
permissions
-rw-r--r--

removes unnecessary (and for some servers harmful) extra configuration for war archiver

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

mercurial