source: src/main/webapp/WEB-INF/web.xml@ 47

Last change on this file since 47 was 46, checked in by ruud, 22 months ago

Fixed small issues in domaineditor.

File size: 2.3 KB
RevLine 
[46]1<!DOCTYPE web-app PUBLIC
2 "-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN"
3 "http://java.sun.com/dtd/web-app_2_3.dtd" >
4
5<web-app>
6 <display-name>GeniusWeb Parties server</display-name>
7
8 <filter>
9 <filter-name>CorsFilter</filter-name>
10 <filter-class>org.apache.catalina.filters.CorsFilter</filter-class>
11 <init-param>
12 <param-name>cors.allowed.origins</param-name>
13 <param-value>*</param-value>
14 </init-param>
15 <init-param>
16 <param-name>cors.exposed.headers</param-name>
17 <param-value>Access-Control-Allow-Origin</param-value>
18 </init-param>
19 </filter>
20 <filter-mapping>
21 <filter-name>CorsFilter</filter-name>
22 <url-pattern>/*</url-pattern>
23 </filter-mapping>
24
25
26 <servlet>
27 <!-- List files in /ws-definitions -->
28 <servlet-name>listrepo</servlet-name>
29 <servlet-class>org.apache.catalina.servlets.DefaultServlet</servlet-class>
30 <init-param>
31 <param-name>debug</param-name>
32 <param-value>0</param-value>
33 </init-param>
34 <init-param>
35 <param-name>listings</param-name>
36 <param-value>true</param-value>
37 </init-param>
38 <load-on-startup>100</load-on-startup>
39 </servlet>
40 <servlet>
41 <servlet-name>BackgroundServlet</servlet-name>
42 <display-name>BackgroundServlet</display-name>
43 <description>On-start servlet to load background tasks</description>
44 <servlet-class>geniusweb.partiesserver.BackgroundServlet</servlet-class>
45 <load-on-startup>2</load-on-startup>
46 </servlet>
47 <servlet>
48 <servlet-name>RunParty</servlet-name>
49 <display-name>RunParty</display-name>
50 <description>run a given party</description>
51 <servlet-class>geniusweb.partiesserver.RunParty</servlet-class>
52 </servlet>
53 <servlet>
54 <servlet-name>Info</servlet-name>
55 <display-name>Info</display-name>
56 <description>available/total number of slots</description>
57 <servlet-class>geniusweb.partiesserver.Info</servlet-class>
58 </servlet>
59
60 <servlet-mapping>
61 <servlet-name>listrepo</servlet-name>
62 <url-pattern>/partiesrepo/*</url-pattern>
63 </servlet-mapping>
64 <servlet-mapping>
65 <servlet-name>BackgroundServlet</servlet-name>
66 <url-pattern>/BackgroundServlet</url-pattern>
67 </servlet-mapping>
68 <servlet-mapping>
69 <servlet-name>RunParty</servlet-name>
70 <url-pattern>/run/*</url-pattern>
71 </servlet-mapping>
72 <servlet-mapping>
73 <servlet-name>Info</servlet-name>
74 <url-pattern>/info</url-pattern>
75 </servlet-mapping>
76
77</web-app>
78
79
Note: See TracBrowser for help on using the repository browser.