Mercurial > hg > ismi-richfaces
annotate src/main/webapp/WEB-INF/web.xml @ 215:26138384984c
update more instances of IIIF server URL.
author | casties |
---|---|
date | Sat, 15 Jan 2022 16:09:55 +0100 |
parents | d2cee1040062 |
children |
rev | line source |
---|---|
7 | 1 <?xml version="1.0" encoding="UTF-8"?> |
2 <web-app xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://java.sun.com/xml/ns/javaee" xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd" version="2.5"> | |
3 <display-name>ismi-database</display-name> | |
4 <servlet> | |
5 <servlet-name>jersey-serlvet</servlet-name> | |
6 <servlet-class>com.sun.jersey.spi.container.servlet.ServletContainer</servlet-class> | |
7 <init-param> | |
8 <param-name>com.sun.jersey.config.property.packages</param-name> | |
9 <param-value>de.mpiwg.itgroup.diva.rest</param-value> | |
10 </init-param> | |
11 <init-param> | |
12 <param-name>com.sun.jersey.api.json.POJOMappingFeature</param-name> | |
13 <param-value>true</param-value> | |
14 </init-param> | |
15 <load-on-startup>1</load-on-startup> | |
16 </servlet> | |
17 <servlet-mapping> | |
18 <servlet-name>jersey-serlvet</servlet-name> | |
19 <url-pattern>/rest/*</url-pattern> | |
20 </servlet-mapping> | |
21 <servlet> | |
22 <servlet-name>jsonInterface</servlet-name> | |
23 <servlet-class>de.mpiwg.itgroup.ismi.servlets.JSONInterface</servlet-class> | |
24 </servlet> | |
25 <servlet-mapping> | |
26 <servlet-name>jsonInterface</servlet-name> | |
27 <url-pattern>/jsonInterface</url-pattern> | |
28 </servlet-mapping> | |
29 <context-param> | |
30 <param-name>javax.faces.PROJECT_STAGE</param-name> | |
31 <param-value>Development</param-value> | |
32 </context-param> | |
33 <context-param> | |
34 <param-name>javax.faces.SKIP_COMMENTS</param-name> | |
35 <param-value>true</param-value> | |
36 </context-param> | |
37 <servlet> | |
38 <servlet-name>Faces Servlet</servlet-name> | |
39 <servlet-class>javax.faces.webapp.FacesServlet</servlet-class> | |
40 <load-on-startup>1</load-on-startup> | |
41 </servlet> | |
42 <servlet-mapping> | |
43 <servlet-name>Faces Servlet</servlet-name> | |
44 <url-pattern>*.xhtml</url-pattern> | |
45 </servlet-mapping> | |
46 <servlet> | |
47 <servlet-name>Resource Servlet</servlet-name> | |
48 <servlet-class>org.richfaces.webapp.ResourceServlet</servlet-class> | |
49 <load-on-startup>1</load-on-startup> | |
50 </servlet> | |
51 <servlet-mapping> | |
52 <servlet-name>Resource Servlet</servlet-name> | |
53 <url-pattern>/org.richfaces.resources/*</url-pattern> | |
54 </servlet-mapping> | |
55 <context-param> | |
56 <param-name>org.richfaces.resourceMapping.enabled</param-name> | |
57 <param-value>true</param-value> | |
58 </context-param> | |
59 <session-config> | |
60 <session-timeout>30</session-timeout> | |
61 </session-config> | |
62 <welcome-file-list> | |
63 <welcome-file>index.jsp</welcome-file> | |
64 </welcome-file-list> | |
65 <login-config> | |
66 <auth-method>BASIC</auth-method> | |
67 </login-config> | |
68 <context-param> | |
69 <description>State saving method: 'client' or 'server' (=default). See JSF Specification 2.5.2</description> | |
70 <param-name>javax.faces.STATE_SAVING_METHOD</param-name> | |
71 <param-value>client</param-value> | |
72 </context-param> | |
73 <context-param> | |
74 <param-name>javax.servlet.jsp.jstl.fmt.localizationContext</param-name> | |
75 <param-value>resources.application</param-value> | |
76 </context-param> | |
77 <listener> | |
94
d2cee1040062
new servlet lifecycle listener to shut down Spring ApplicationBean.
casties
parents:
93
diff
changeset
|
78 <listener-class>de.mpiwg.itgroup.ismi.servlets.ServletLifecycleService</listener-class> |
93
27bf167d09f1
add listener for ServiceRegistry to run Spring bean shutdown hook.
casties
parents:
7
diff
changeset
|
79 </listener> |
27bf167d09f1
add listener for ServiceRegistry to run Spring bean shutdown hook.
casties
parents:
7
diff
changeset
|
80 <listener> |
7 | 81 <listener-class>com.sun.faces.config.ConfigureListener</listener-class> |
82 </listener> | |
83 </web-app> |