summaryrefslogtreecommitdiff
path: root/app/v2_java/WebContent/WEB-INF
diff options
context:
space:
mode:
Diffstat (limited to 'app/v2_java/WebContent/WEB-INF')
-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>