summaryrefslogtreecommitdiff
path: root/app/v2_java/WebContent/WEB-INF/web.xml
diff options
context:
space:
mode:
authorJulien Sere <jsere>2011-01-22 17:22:13 +0000
committerJulien Sere <jsere>2011-01-22 17:22:13 +0000
commitd26dbab8f789d787d5c39f8700b4ac19701f286f (patch)
tree4525a459c2c6582e6015fd82714f7c09b791efb9 /app/v2_java/WebContent/WEB-INF/web.xml
parenta1051d374d9d7e0892dda3bf19bd4224ff0fa06b (diff)
download2011-usi-d26dbab8f789d787d5c39f8700b4ac19701f286f.tar.gz
2011-usi-d26dbab8f789d787d5c39f8700b4ac19701f286f.tar.bz2
2011-usi-d26dbab8f789d787d5c39f8700b4ac19701f286f.zip
initial check out java
git-svn-id: file:///var/svn/2011-usi/trunk@13 db941bf7-0cb3-4dda-9634-87faf64f93a7
Diffstat (limited to 'app/v2_java/WebContent/WEB-INF/web.xml')
-rw-r--r--app/v2_java/WebContent/WEB-INF/web.xml31
1 files changed, 31 insertions, 0 deletions
diff --git a/app/v2_java/WebContent/WEB-INF/web.xml b/app/v2_java/WebContent/WEB-INF/web.xml
new file mode 100644
index 0000000..1ee7e79
--- /dev/null
+++ b/app/v2_java/WebContent/WEB-INF/web.xml
@@ -0,0 +1,31 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<web-app id="WebApp_ID" version="2.4"
+ xmlns="http://java.sun.com/xml/ns/j2ee" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+ xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd">
+ <display-name>usi2011</display-name>
+ <servlet>
+ <description>
+ </description>
+ <display-name>Question</display-name>
+ <servlet-name>Question</servlet-name>
+ <servlet-class>org.usi2011.Question</servlet-class>
+ </servlet>
+ <servlet>
+ <description>
+ </description>
+ <display-name>User</display-name>
+ <servlet-name>User</servlet-name>
+ <servlet-class>org.usi2011.User</servlet-class>
+ </servlet>
+ <servlet-mapping>
+ <servlet-name>Question</servlet-name>
+ <url-pattern>/api/question/*</url-pattern>
+ </servlet-mapping>
+ <servlet-mapping>
+ <servlet-name>User</servlet-name>
+ <url-pattern>/api/user/</url-pattern>
+ </servlet-mapping>
+ <welcome-file-list>
+ <welcome-file>index.html</welcome-file>
+ </welcome-file-list>
+</web-app>