summaryrefslogtreecommitdiffstats
path: root/src/main/webapp/META-INF/context.xml
diff options
context:
space:
mode:
Diffstat (limited to 'src/main/webapp/META-INF/context.xml')
-rw-r--r--src/main/webapp/META-INF/context.xml10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/main/webapp/META-INF/context.xml b/src/main/webapp/META-INF/context.xml
new file mode 100644
index 0000000..5468a84
--- /dev/null
+++ b/src/main/webapp/META-INF/context.xml
@@ -0,0 +1,10 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<Context>
+ <Resource name="jdbc/gdropdb"
+ auth="Container"
+ type="javax.sql.DataSource"
+ driverClassName="org.sqlite.JDBC"
+ url="jdbc:sqlite:${catalina.home}/gdrop.db"
+ factory="org.apache.tomcat.dbcp.dbcp.BasicDataSourceFactory"
+ />
+</Context> \ No newline at end of file