View File | Revision Log | Show Annotations | Download File | View Changeset
/hippo/attic/forge/goto/goto-demo/trunk/cms/src/main/webapp/WEB-INF/web.xml
Revision: 58784
Committed: Thu Mar 2 21:08:29 2017 UTC (2 years, 7 months ago) by jhoffman
Content type: text/xml
File size: 5231 byte(s)
Log Message:
Moved project from forge.onehippo.org/svn/ without history

File Contents

# Content
1 <?xml version="1.0" encoding="UTF-8"?>
2 <!DOCTYPE web-app PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN" "http://java.sun.com/dtd/web-app_2_3.dtd">
3 <!--
4 * Copyright 2008,2009 Hippo
5 *
6 * Licensed under the Apache License, Version 2.0 (the "License");
7 * you may not use this file except in compliance with the License.
8 * You may obtain a copy of the License at
9 *
10 * http://www.apache.org/licenses/LICENSE-2.0
11 *
12 * Unless required by applicable law or agreed to in writing, software
13 * distributed under the License is distributed on an "AS IS" BASIS,
14 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15 * See the License for the specific language governing permissions and
16 * limitations under the License.
17 -->
18 <web-app id="hippo-ecm">
19
20 <!-- General configuration -->
21 <display-name>Hippo ECM WAR package</display-name>
22 <description>Hippo ECM WAR package</description>
23
24 <context-param>
25 <param-name>repository-address</param-name>
26 <param-value>rmi://localhost:1099/hipporepository</param-value>
27 <description>The address of the repository</description>
28 </context-param>
29
30 <!--Default application-->
31 <filter>
32 <filter-name>ConcurrentLogin</filter-name>
33 <filter-class>org.hippoecm.frontend.plugins.login.ConcurrentLoginFilter</filter-class>
34 </filter>
35 <filter>
36 <filter-name>CMS</filter-name>
37 <filter-class>org.apache.wicket.protocol.http.WicketFilter</filter-class>
38 <init-param>
39 <param-name>applicationClassName</param-name>
40 <param-value>org.hippoecm.frontend.Main</param-value>
41 </init-param>
42 <init-param>
43 <param-name>filterMappingUrlPattern</param-name>
44 <param-value>/*</param-value>
45 </init-param>
46 <init-param>
47 <param-name>configuration</param-name>
48 <param-value>deployment</param-value>
49 </init-param>
50 <init-param>
51 <param-name>repository-address</param-name>
52 <param-value>vm://</param-value>
53 </init-param>
54 </filter>
55
56 <!--Builtin console-->
57 <filter>
58 <filter-name>Console</filter-name>
59 <filter-class>org.apache.wicket.protocol.http.WicketFilter</filter-class>
60 <init-param>
61 <param-name>applicationClassName</param-name>
62 <param-value>org.hippoecm.frontend.Main</param-value>
63 </init-param>
64 <init-param>
65 <param-name>config</param-name>
66 <param-value>console</param-value>
67 </init-param>
68 <init-param>
69 <param-name>configuration</param-name>
70 <param-value>deployment</param-value>
71 </init-param>
72 <init-param>
73 <param-name>repository-address</param-name>
74 <param-value>vm://</param-value>
75 </init-param>
76 </filter>
77
78 <filter-mapping>
79 <filter-name>ConcurrentLogin</filter-name>
80 <url-pattern>/*</url-pattern>
81 </filter-mapping>
82 <filter-mapping>
83 <filter-name>CMS</filter-name>
84 <url-pattern>/*</url-pattern>
85 </filter-mapping>
86
87 <filter-mapping>
88 <filter-name>Console</filter-name>
89 <url-pattern>/console/*</url-pattern>
90 </filter-mapping>
91
92 <listener>
93 <listener-class>org.hippoecm.frontend.plugins.login.ConcurrentLoginListener</listener-class>
94 </listener>
95
96 <servlet>
97 <servlet-name>StatusServlet</servlet-name>
98 <servlet-class>org.hippoecm.repository.StatusServlet</servlet-class>
99 <load-on-startup>2</load-on-startup>
100 </servlet>
101
102 <servlet>
103 <servlet-name>LoggingServlet</servlet-name>
104 <servlet-class>org.hippoecm.repository.LoggingServlet</servlet-class>
105 <load-on-startup>3</load-on-startup>
106 </servlet>
107
108 <!-- Repository -->
109 <servlet>
110 <servlet-name>Repository</servlet-name>
111 <servlet-class>org.hippoecm.repository.RepositoryServlet</servlet-class>
112 <init-param>
113 <param-name>repository-directory</param-name>
114 <param-value>WEB-INF/storage</param-value>
115 <description>The (relative) location where to store files</description>
116 </init-param>
117 <init-param>
118 <param-name>repository-config</param-name>
119 <param-value>repository.xml</param-value>
120 <description>The location of the repository configuration file. Unless the location
121 starts with file://, the location is retrieved from within the application package as
122 resource.</description>
123 </init-param>
124 <load-on-startup>4</load-on-startup>
125 </servlet>
126
127 <servlet-mapping>
128 <servlet-name>StatusServlet</servlet-name>
129 <url-pattern>/status/*</url-pattern>
130 </servlet-mapping>
131
132 <servlet-mapping>
133 <servlet-name>LoggingServlet</servlet-name>
134 <url-pattern>/logging/*</url-pattern>
135 </servlet-mapping>
136
137 <servlet-mapping>
138 <servlet-name>Repository</servlet-name>
139 <url-pattern>/repository/*</url-pattern>
140 </servlet-mapping>
141
142 <!-- Timeout in minutes -->
143 <session-config>
144 <session-timeout>60</session-timeout>
145 </session-config>
146
147 </web-app>

Properties

Name Value
svn:eol-style native
svn:keywords Id