diff options
author | Ugnich Anton | 2011-12-25 15:56:30 +0700 |
---|---|---|
committer | Ugnich Anton | 2011-12-25 15:56:30 +0700 |
commit | 6f4e181f0a03b4b190922bd5f8bd97fb9fdb206e (patch) | |
tree | c8b5241c84cb24a6c0c8a8b2eaa109f569dfc76c /web |
Initial commit
Diffstat (limited to 'web')
-rw-r--r-- | web/META-INF/context.xml | 2 | ||||
-rw-r--r-- | web/WEB-INF/web.xml | 16 |
2 files changed, 18 insertions, 0 deletions
diff --git a/web/META-INF/context.xml b/web/META-INF/context.xml new file mode 100644 index 00000000..5bee3dc3 --- /dev/null +++ b/web/META-INF/context.xml @@ -0,0 +1,2 @@ +<?xml version="1.0" encoding="UTF-8"?> +<Context antiJARLocking="true" path=""/> diff --git a/web/WEB-INF/web.xml b/web/WEB-INF/web.xml new file mode 100644 index 00000000..16e4d30f --- /dev/null +++ b/web/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.http.www.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> |