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 Run 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 | <servlet>
|
---|
26 | <!-- List files in /ws-definitions -->
|
---|
27 | <servlet-name>viewlogs</servlet-name>
|
---|
28 | <servlet-class>org.apache.catalina.servlets.DefaultServlet</servlet-class>
|
---|
29 | <init-param>
|
---|
30 | <param-name>debug</param-name>
|
---|
31 | <param-value>0</param-value>
|
---|
32 | </init-param>
|
---|
33 | <init-param>
|
---|
34 | <param-name>listings</param-name>
|
---|
35 | <param-value>true</param-value>
|
---|
36 | </init-param>
|
---|
37 | <load-on-startup>100</load-on-startup>
|
---|
38 | </servlet>
|
---|
39 |
|
---|
40 | <servlet>
|
---|
41 | <servlet-name>RunNego</servlet-name>
|
---|
42 | <display-name>RunNego</display-name>
|
---|
43 | <description>run a new session</description>
|
---|
44 | <servlet-class>geniusweb.runserver.RunNego</servlet-class>
|
---|
45 | </servlet>
|
---|
46 |
|
---|
47 |
|
---|
48 | <servlet-mapping>
|
---|
49 | <servlet-name>viewlogs</servlet-name>
|
---|
50 | <url-pattern>/log/*</url-pattern>
|
---|
51 | </servlet-mapping>
|
---|
52 | <servlet-mapping>
|
---|
53 | <servlet-name>RunNego</servlet-name>
|
---|
54 | <url-pattern>/run</url-pattern>
|
---|
55 | </servlet-mapping>
|
---|
56 |
|
---|
57 |
|
---|
58 | </web-app>
|
---|