diff options
Diffstat (limited to 'juick-api/src/main/webapp/WEB-INF/web.xml')
-rw-r--r-- | juick-api/src/main/webapp/WEB-INF/web.xml | 16 |
1 files changed, 16 insertions, 0 deletions
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 000000000..533a68828 --- /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> |