summaryrefslogtreecommitdiff
path: root/app/v2_java/WebContent/WEB-INF/web.xml
blob: 1ee7e79496a54180047bae9fb36c832f2248add1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
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>