aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/conf/MANIFEST.MF2
-rw-r--r--src/main/java/com/juick/api/Main.java (renamed from src/java/com/juick/api/Main.java)0
-rw-r--r--src/main/java/com/juick/api/Messages.java (renamed from src/java/com/juick/api/Messages.java)0
-rw-r--r--src/main/java/com/juick/api/Others.java (renamed from src/java/com/juick/api/Others.java)0
-rw-r--r--src/main/java/com/juick/api/PM.java (renamed from src/java/com/juick/api/PM.java)0
-rw-r--r--src/main/java/com/juick/api/Users.java (renamed from src/java/com/juick/api/Users.java)0
-rw-r--r--src/main/java/com/juick/api/Utils.java (renamed from src/java/com/juick/api/Utils.java)0
-rw-r--r--src/main/webapp/WEB-INF/web.xml16
8 files changed, 16 insertions, 2 deletions
diff --git a/src/conf/MANIFEST.MF b/src/conf/MANIFEST.MF
deleted file mode 100644
index 59499bce..00000000
--- a/src/conf/MANIFEST.MF
+++ /dev/null
@@ -1,2 +0,0 @@
-Manifest-Version: 1.0
-
diff --git a/src/java/com/juick/api/Main.java b/src/main/java/com/juick/api/Main.java
index 5ee4027b..5ee4027b 100644
--- a/src/java/com/juick/api/Main.java
+++ b/src/main/java/com/juick/api/Main.java
diff --git a/src/java/com/juick/api/Messages.java b/src/main/java/com/juick/api/Messages.java
index b5462258..b5462258 100644
--- a/src/java/com/juick/api/Messages.java
+++ b/src/main/java/com/juick/api/Messages.java
diff --git a/src/java/com/juick/api/Others.java b/src/main/java/com/juick/api/Others.java
index 25df5bf4..25df5bf4 100644
--- a/src/java/com/juick/api/Others.java
+++ b/src/main/java/com/juick/api/Others.java
diff --git a/src/java/com/juick/api/PM.java b/src/main/java/com/juick/api/PM.java
index 2722526d..2722526d 100644
--- a/src/java/com/juick/api/PM.java
+++ b/src/main/java/com/juick/api/PM.java
diff --git a/src/java/com/juick/api/Users.java b/src/main/java/com/juick/api/Users.java
index cdd48fd6..cdd48fd6 100644
--- a/src/java/com/juick/api/Users.java
+++ b/src/main/java/com/juick/api/Users.java
diff --git a/src/java/com/juick/api/Utils.java b/src/main/java/com/juick/api/Utils.java
index 10e0cccb..10e0cccb 100644
--- a/src/java/com/juick/api/Utils.java
+++ b/src/main/java/com/juick/api/Utils.java
diff --git a/src/main/webapp/WEB-INF/web.xml b/src/main/webapp/WEB-INF/web.xml
new file mode 100644
index 00000000..533a6882
--- /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.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>