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

Sat, 16 May 2020 17:22:02 +0200

author
Mike Becker <universe@uap-core.de>
date
Sat, 16 May 2020 17:22:02 +0200
changeset 55
1a3b998afba7
parent 53
6a8498291606
child 72
0646c14e36fb
permissions
-rw-r--r--

access getClass() method in EL with bracket notation (otherwise more recent EL parsers will reject the expression)

     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     <resource-ref>
    13         <description>Application Database</description>
    14         <res-ref-name>jdbc/lightpit/app</res-ref-name>
    15         <res-type>javax.sql.DataSource</res-type>
    16         <res-auth>Container</res-auth>
    17         <lookup-name>java:/jdbc/lightpit/app</lookup-name>
    18     </resource-ref>
    19     <error-page>
    20         <location>/error/generic</location>
    21     </error-page>
    22 </web-app>

mercurial