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

changeset 49
d9c24f0ab8f7
parent 45
cc7f082c5ef3
child 50
2a90d105edec
--- a/src/main/webapp/WEB-INF/web.xml	Fri May 15 19:13:23 2020 +0200
+++ b/src/main/webapp/WEB-INF/web.xml	Sat May 16 09:28:57 2020 +0200
@@ -9,6 +9,12 @@
         <param-name>available-languages</param-name>
         <param-value>en,de</param-value>
     </context-param>
+    <resource-ref>
+        <description>Application Database</description>
+        <res-ref-name>jdbc/lightpit/app</res-ref-name>
+        <res-type>javax.sql.DataSource</res-type>
+        <res-auth>Container</res-auth>
+    </resource-ref>
     <error-page>
         <error-code>404</error-code>
         <location>/error/404.html</location>

mercurial