[45] | 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 | <servlet>
|
---|
| 48 | <servlet-name>Info</servlet-name>
|
---|
| 49 | <display-name>Info</display-name>
|
---|
| 50 | <description>get info</description>
|
---|
| 51 | <servlet-class>geniusweb.runserver.Info</servlet-class>
|
---|
| 52 | </servlet>
|
---|
| 53 |
|
---|
| 54 |
|
---|
| 55 | <servlet-mapping>
|
---|
| 56 | <servlet-name>viewlogs</servlet-name>
|
---|
| 57 | <url-pattern>/log/*</url-pattern>
|
---|
| 58 | </servlet-mapping>
|
---|
| 59 | <servlet-mapping>
|
---|
| 60 | <servlet-name>RunNego</servlet-name>
|
---|
| 61 | <url-pattern>/run</url-pattern>
|
---|
| 62 | </servlet-mapping>
|
---|
| 63 | <servlet-mapping>
|
---|
| 64 | <servlet-name>Info</servlet-name>
|
---|
| 65 | <url-pattern>/info</url-pattern>
|
---|
| 66 | </servlet-mapping>
|
---|
| 67 |
|
---|
| 68 | </web-app>
|
---|