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

Sat, 16 May 2020 11:37:57 +0200

author
Mike Becker <universe@uap-core.de>
date
Sat, 16 May 2020 11:37:57 +0200
changeset 50
2a90d105edec
parent 49
d9c24f0ab8f7
child 53
6a8498291606
permissions
-rw-r--r--

adds lookup-name to web.xml resource reference and removes custom JNDI context parameter

also removes jstl-impl from compile time dependencies - tomcat users must provide the library manually

universe@1 1 <?xml version="1.0" encoding="UTF-8"?>
universe@1 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">
universe@1 3 <session-config>
universe@1 4 <session-timeout>
universe@1 5 30
universe@1 6 </session-timeout>
universe@1 7 </session-config>
universe@13 8 <context-param>
universe@13 9 <param-name>available-languages</param-name>
universe@13 10 <param-value>en,de</param-value>
universe@13 11 </context-param>
universe@49 12 <resource-ref>
universe@49 13 <description>Application Database</description>
universe@49 14 <res-ref-name>jdbc/lightpit/app</res-ref-name>
universe@49 15 <res-type>javax.sql.DataSource</res-type>
universe@49 16 <res-auth>Container</res-auth>
universe@50 17 <lookup-name>java:/jdbc/lightpit/app</lookup-name>
universe@49 18 </resource-ref>
universe@18 19 <error-page>
universe@18 20 <error-code>404</error-code>
universe@45 21 <location>/error/404.html</location>
universe@18 22 </error-page>
universe@18 23 <error-page>
universe@18 24 <error-code>403</error-code>
universe@45 25 <location>/error/403.html</location>
universe@18 26 </error-page>
universe@18 27 <error-page>
universe@18 28 <error-code>500</error-code>
universe@45 29 <location>/error/500.html</location>
universe@18 30 </error-page>
universe@1 31 </web-app>

mercurial