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

Fri, 22 May 2020 16:21:59 +0200

author
Mike Becker <universe@uap-core.de>
date
Fri, 22 May 2020 16:21:59 +0200
changeset 72
0646c14e36fb
parent 53
6a8498291606
child 254
55ca6cafc3dd
permissions
-rw-r--r--

some reformatting

     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"
     3          xsi:schemaLocation="http://xmlns.jcp.org/xml/ns/javaee http://xmlns.jcp.org/xml/ns/javaee/web-app_3_1.xsd">
     4     <session-config>
     5         <session-timeout>
     6             30
     7         </session-timeout>
     8     </session-config>
     9     <context-param>
    10         <param-name>available-languages</param-name>
    11         <param-value>en,de</param-value>
    12     </context-param>
    13     <resource-ref>
    14         <description>Application Database</description>
    15         <res-ref-name>jdbc/lightpit/app</res-ref-name>
    16         <res-type>javax.sql.DataSource</res-type>
    17         <res-auth>Container</res-auth>
    18         <lookup-name>java:/jdbc/lightpit/app</lookup-name>
    19     </resource-ref>
    20     <error-page>
    21         <location>/error/generic</location>
    22     </error-page>
    23 </web-app>

mercurial