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

Last change on this file since 44 was 43, checked in by ruud, 21 months ago

Fixed small issues in domaineditor.

File size: 1.2 KB
Line 
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>Domains and Profiles 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>listrepo</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-mapping>
41 <servlet-name>listrepo</servlet-name>
42 <url-pattern>/domainsrepo/*</url-pattern>
43 </servlet-mapping>
44
45</web-app>
46
47
Note: See TracBrowser for help on using the repository browser.