diff options
author | Vitaly Takmazov | 2016-07-07 15:58:08 +0300 |
---|---|---|
committer | Vitaly Takmazov | 2016-07-07 15:58:08 +0300 |
commit | 7f3a7535bc07af003a148618b4b1d4b936dcd7db (patch) | |
tree | 12fe34876575cb1036c04e978ec2176eb9004974 /juick-rss/src/main/webapp | |
parent | ecf06fcff98724c7740f3af194a855eedc12a308 (diff) |
reorganize project, part 4
Diffstat (limited to 'juick-rss/src/main/webapp')
-rw-r--r-- | juick-rss/src/main/webapp/WEB-INF/juick.conf.example | 2 | ||||
-rw-r--r-- | juick-rss/src/main/webapp/WEB-INF/web.xml | 16 |
2 files changed, 18 insertions, 0 deletions
diff --git a/juick-rss/src/main/webapp/WEB-INF/juick.conf.example b/juick-rss/src/main/webapp/WEB-INF/juick.conf.example new file mode 100644 index 00000000..2cb6f4f7 --- /dev/null +++ b/juick-rss/src/main/webapp/WEB-INF/juick.conf.example @@ -0,0 +1,2 @@ +datasource_driver=org.h2.Driver +datasource_url=jdbc:h2:~/test diff --git a/juick-rss/src/main/webapp/WEB-INF/web.xml b/juick-rss/src/main/webapp/WEB-INF/web.xml new file mode 100644 index 00000000..a4264bb0 --- /dev/null +++ b/juick-rss/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.rss.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> |