Changeset 12 for src/main/webapp/WEB-INF/web.xml
- Timestamp:
- 04/28/20 12:56:50 (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/main/webapp/WEB-INF/web.xml
r1 r12 6 6 <display-name>Domains and Profiles server</display-name> 7 7 8 <servlet> 9 <!-- List files in /ws-definitions --> 10 <servlet-name>listrepo</servlet-name> 11 <servlet-class>org.apache.catalina.servlets.DefaultServlet</servlet-class> 12 <init-param> 13 <param-name>debug</param-name> 14 <param-value>0</param-value> 15 </init-param> 16 <init-param> 17 <param-name>listings</param-name> 18 <param-value>true</param-value> 19 </init-param> 20 <load-on-startup>100</load-on-startup> 21 </servlet> 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> 22 24 23 <servlet-mapping> 24 <servlet-name>listrepo</servlet-name> 25 <url-pattern>/domainsrepo/*</url-pattern> 26 </servlet-mapping> 27 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 28 45 </web-app> 29 46
Note:
See TracChangeset
for help on using the changeset viewer.