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

changeset 29
27a0fdd7bca7
parent 18
a94b172c3a93
child 45
cc7f082c5ef3
equal deleted inserted replaced
28:cfc3d11884ad 29:27a0fdd7bca7
1 <?xml version="1.0" encoding="UTF-8"?>
2 <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">
3 <session-config>
4 <session-timeout>
5 30
6 </session-timeout>
7 </session-config>
8 <context-param>
9 <param-name>available-languages</param-name>
10 <param-value>en,de</param-value>
11 </context-param>
12 <error-page>
13 <error-code>404</error-code>
14 <location>/error/404</location>
15 </error-page>
16 <error-page>
17 <error-code>403</error-code>
18 <location>/error/403</location>
19 </error-page>
20 <error-page>
21 <error-code>500</error-code>
22 <location>/error/500</location>
23 </error-page>
24 </web-app>

mercurial