aboutsummaryrefslogtreecommitdiff
path: root/src/main/webapp/WEB-INF/web.xml
diff options
context:
space:
mode:
authorGravatar Vitaly Takmazov2016-06-30 14:00:58 +0300
committerGravatar Vitaly Takmazov2016-06-30 14:00:58 +0300
commit799523c4019fa4f6ef6d40e77b3f949fbe742c8f (patch)
tree023e4b0a024d21da4ee70e53ec5b21dfed689d8e /src/main/webapp/WEB-INF/web.xml
parentbe18339f67341c02a071eddde94d230384a40a41 (diff)
add web.inf and example config
Diffstat (limited to 'src/main/webapp/WEB-INF/web.xml')
-rw-r--r--src/main/webapp/WEB-INF/web.xml16
1 files changed, 16 insertions, 0 deletions
diff --git a/src/main/webapp/WEB-INF/web.xml b/src/main/webapp/WEB-INF/web.xml
new file mode 100644
index 00000000..a4264bb0
--- /dev/null
+++ b/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>