aboutsummaryrefslogtreecommitdiff
path: root/juick-api/src/main/webapp
diff options
context:
space:
mode:
authorGravatar Vitaly Takmazov2016-07-07 15:42:16 +0300
committerGravatar Vitaly Takmazov2016-07-07 15:42:16 +0300
commit20ca1d9e0c1b7b8a4822742f120d6c576454d0d9 (patch)
tree4a906f22bf4fec0d6a1b1589b7f761f2632cbe06 /juick-api/src/main/webapp
parente5c286017b59a0862f2ccc4d9f905d8a3b0008ac (diff)
reorganize project
Diffstat (limited to 'juick-api/src/main/webapp')
-rw-r--r--juick-api/src/main/webapp/WEB-INF/juick.conf.example6
-rw-r--r--juick-api/src/main/webapp/WEB-INF/web.xml16
2 files changed, 22 insertions, 0 deletions
diff --git a/juick-api/src/main/webapp/WEB-INF/juick.conf.example b/juick-api/src/main/webapp/WEB-INF/juick.conf.example
new file mode 100644
index 00000000..61ebbc29
--- /dev/null
+++ b/juick-api/src/main/webapp/WEB-INF/juick.conf.example
@@ -0,0 +1,6 @@
+datasource_driver=org.h2.Driver
+datasource_url=jdbc:h2:~/test
+xmpp_host=localhost
+xmpp_port=5347
+xmpp_jid=api.localhost
+xmpp_password=secret \ No newline at end of file
diff --git a/juick-api/src/main/webapp/WEB-INF/web.xml b/juick-api/src/main/webapp/WEB-INF/web.xml
new file mode 100644
index 00000000..533a6882
--- /dev/null
+++ b/juick-api/src/main/webapp/WEB-INF/web.xml
@@ -0,0 +1,16 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<web-app version="3.0" xmlns="http://java.sun.com/xml/ns/javaee" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-app_3_0.xsd">
+ <servlet>
+ <servlet-name>Main</servlet-name>
+ <servlet-class>com.juick.api.Main</servlet-class>
+ </servlet>
+ <servlet-mapping>
+ <servlet-name>Main</servlet-name>
+ <url-pattern>/</url-pattern>
+ </servlet-mapping>
+ <session-config>
+ <session-timeout>
+ 30
+ </session-timeout>
+ </session-config>
+</web-app>