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

changeset 29
27a0fdd7bca7
parent 18
a94b172c3a93
child 45
cc7f082c5ef3
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/src/main/webapp/WEB-INF/web.xml	Sat May 09 14:26:31 2020 +0200
     1.3 @@ -0,0 +1,24 @@
     1.4 +<?xml version="1.0" encoding="UTF-8"?>
     1.5 +<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">
     1.6 +    <session-config>
     1.7 +        <session-timeout>
     1.8 +            30
     1.9 +        </session-timeout>
    1.10 +    </session-config>
    1.11 +    <context-param>
    1.12 +        <param-name>available-languages</param-name>
    1.13 +        <param-value>en,de</param-value>
    1.14 +    </context-param>
    1.15 +    <error-page>
    1.16 +        <error-code>404</error-code>
    1.17 +        <location>/error/404</location>
    1.18 +    </error-page>
    1.19 +    <error-page>
    1.20 +        <error-code>403</error-code>
    1.21 +        <location>/error/403</location>
    1.22 +    </error-page>
    1.23 +    <error-page>
    1.24 +        <error-code>500</error-code>
    1.25 +        <location>/error/500</location>
    1.26 +    </error-page>
    1.27 +</web-app>

mercurial