-
Notifications
You must be signed in to change notification settings - Fork 42
/
Copy pathweb.xml
66 lines (62 loc) · 2.33 KB
/
web.xml
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
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
<?xml version="1.0" encoding="UTF-8"?>
<web-app xmlns="http://xmlns.jcp.org/xml/ns/javaee"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://xmlns.jcp.org/xml/ns/javaee http://xmlns.jcp.org/xml/ns/javaee/web-app_3_1.xsd"
version="3.1">
<servlet>
<servlet-name>connector1</servlet-name>
<servlet-class>org.grapheco.server.ConnectorServlet</servlet-class>
<init-param>
<param-name>configFile</param-name>
<param-value>WEB-INF/conf1.properties</param-value>
</init-param>
</servlet>
<servlet-mapping>
<servlet-name>connector1</servlet-name>
<url-pattern>/connector-bolt</url-pattern>
</servlet-mapping>
<servlet>
<servlet-name>connector2</servlet-name>
<servlet-class>org.grapheco.server.ConnectorServlet</servlet-class>
<init-param>
<param-name>configFile</param-name>
<param-value>WEB-INF/conf2.properties</param-value>
</init-param>
</servlet>
<servlet-mapping>
<servlet-name>connector2</servlet-name>
<url-pattern>/connector-neodb</url-pattern>
</servlet-mapping>
<servlet>
<servlet-name>connector3</servlet-name>
<servlet-class>org.grapheco.server.ConnectorServlet</servlet-class>
<init-param>
<param-name>configFile</param-name>
<param-value>WEB-INF/conf3.properties</param-value>
</init-param>
</servlet>
<servlet-mapping>
<servlet-name>connector3</servlet-name>
<url-pattern>/connector-gson</url-pattern>
</servlet-mapping>
<servlet>
<servlet-name>connector4</servlet-name>
<servlet-class>org.grapheco.server.ConnectorServlet</servlet-class>
<init-param>
<param-name>configFile</param-name>
<param-value>WEB-INF/conf4.properties</param-value>
</init-param>
</servlet>
<servlet-mapping>
<servlet-name>connector4</servlet-name>
<url-pattern>/connector-pandadb</url-pattern>
</servlet-mapping>
<servlet-mapping>
<servlet-name>default</servlet-name>
<url-pattern>*.html</url-pattern>
</servlet-mapping>
<servlet-mapping>
<servlet-name>default</servlet-name>
<url-pattern>*.jpg</url-pattern>
</servlet-mapping>
</web-app>