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

Thu, 29 Dec 2022 13:58:08 +0100

author
Mike Becker <universe@uap-core.de>
date
Thu, 29 Dec 2022 13:58:08 +0100
changeset 255
1270f91b4c22
parent 254
55ca6cafc3dd
child 279
d73537b925af
permissions
-rw-r--r--

update from gradle 7.3 to 7.6

And hope that this fixes an idiotic internal
duplication error
(see https://github.com/gradle/gradle/issues/17236)

1
34241be7db73 adds HomeServerlet and Resource Bundle
Mike Becker <universe@uap-core.de>
parents:
diff changeset
1 <?xml version="1.0" encoding="UTF-8"?>
254
55ca6cafc3dd #233 migrate to Jakarta EE and update dependencies
Mike Becker <universe@uap-core.de>
parents: 72
diff changeset
2 <web-app xmlns="https://jakarta.ee/xml/ns/jakartaee"
55ca6cafc3dd #233 migrate to Jakarta EE and update dependencies
Mike Becker <universe@uap-core.de>
parents: 72
diff changeset
3 xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
55ca6cafc3dd #233 migrate to Jakarta EE and update dependencies
Mike Becker <universe@uap-core.de>
parents: 72
diff changeset
4 xsi:schemaLocation="https://jakarta.ee/xml/ns/jakartaee https://jakarta.ee/xml/ns/jakartaee/web-app_6_0.xsd"
55ca6cafc3dd #233 migrate to Jakarta EE and update dependencies
Mike Becker <universe@uap-core.de>
parents: 72
diff changeset
5 version="6.0">
1
34241be7db73 adds HomeServerlet and Resource Bundle
Mike Becker <universe@uap-core.de>
parents:
diff changeset
6 <session-config>
34241be7db73 adds HomeServerlet and Resource Bundle
Mike Becker <universe@uap-core.de>
parents:
diff changeset
7 <session-timeout>
34241be7db73 adds HomeServerlet and Resource Bundle
Mike Becker <universe@uap-core.de>
parents:
diff changeset
8 30
34241be7db73 adds HomeServerlet and Resource Bundle
Mike Becker <universe@uap-core.de>
parents:
diff changeset
9 </session-timeout>
34241be7db73 adds HomeServerlet and Resource Bundle
Mike Becker <universe@uap-core.de>
parents:
diff changeset
10 </session-config>
13
f4608ad6c947 adds dynamic fragments to LightPIT request handling framework + basic language recognition code
Mike Becker <universe@uap-core.de>
parents: 6
diff changeset
11 <context-param>
f4608ad6c947 adds dynamic fragments to LightPIT request handling framework + basic language recognition code
Mike Becker <universe@uap-core.de>
parents: 6
diff changeset
12 <param-name>available-languages</param-name>
f4608ad6c947 adds dynamic fragments to LightPIT request handling framework + basic language recognition code
Mike Becker <universe@uap-core.de>
parents: 6
diff changeset
13 <param-value>en,de</param-value>
f4608ad6c947 adds dynamic fragments to LightPIT request handling framework + basic language recognition code
Mike Becker <universe@uap-core.de>
parents: 6
diff changeset
14 </context-param>
49
d9c24f0ab8f7 adds resource-ref element to web.xml and removes context.xml
Mike Becker <universe@uap-core.de>
parents: 45
diff changeset
15 <resource-ref>
d9c24f0ab8f7 adds resource-ref element to web.xml and removes context.xml
Mike Becker <universe@uap-core.de>
parents: 45
diff changeset
16 <description>Application Database</description>
d9c24f0ab8f7 adds resource-ref element to web.xml and removes context.xml
Mike Becker <universe@uap-core.de>
parents: 45
diff changeset
17 <res-ref-name>jdbc/lightpit/app</res-ref-name>
d9c24f0ab8f7 adds resource-ref element to web.xml and removes context.xml
Mike Becker <universe@uap-core.de>
parents: 45
diff changeset
18 <res-type>javax.sql.DataSource</res-type>
d9c24f0ab8f7 adds resource-ref element to web.xml and removes context.xml
Mike Becker <universe@uap-core.de>
parents: 45
diff changeset
19 <res-auth>Container</res-auth>
50
2a90d105edec adds lookup-name to web.xml resource reference and removes custom JNDI context parameter
Mike Becker <universe@uap-core.de>
parents: 49
diff changeset
20 <lookup-name>java:/jdbc/lightpit/app</lookup-name>
49
d9c24f0ab8f7 adds resource-ref element to web.xml and removes context.xml
Mike Becker <universe@uap-core.de>
parents: 45
diff changeset
21 </resource-ref>
18
a94b172c3a93 user friendly error pages for codes 404, 403 and 500
Mike Becker <universe@uap-core.de>
parents: 13
diff changeset
22 <error-page>
53
6a8498291606 fixes bug where displaying an error page for missing data source would also require that data source (error pages don't try to get database connections now)
Mike Becker <universe@uap-core.de>
parents: 50
diff changeset
23 <location>/error/generic</location>
18
a94b172c3a93 user friendly error pages for codes 404, 403 and 500
Mike Becker <universe@uap-core.de>
parents: 13
diff changeset
24 </error-page>
1
34241be7db73 adds HomeServerlet and Resource Bundle
Mike Becker <universe@uap-core.de>
parents:
diff changeset
25 </web-app>

mercurial