View File | Revision Log | Show Annotations | Download File | View Changeset
/hippo/hippo-documentation/hst_docs/trunk/package/tomcat-site/src/main/webapp/WEB-INF/web.xml
Revision: 21770
Committed: Mon Feb 22 21:47:47 2010 UTC (12 years, 4 months ago) by jreijn
Content type: text/xml
File size: 8997 byte(s)
Log Message:
HSTTWODOCS-258: Fix jsp:output error without set is-xml to true for jsp-directive

File Contents

# Content
1 <?xml version="1.0" encoding="UTF-8"?>
2 <!--
3 * Copyright 2009 Hippo
4 *
5 * Licensed under the Apache License, Version 2.0 (the "License");
6 * you may not use this file except in compliance with the License.
7 * You may obtain a copy of the License at
8 *
9 * http://www.apache.org/licenses/LICENSE-2.0
10 *
11 * Unless required by applicable law or agreed to in writing, software
12 * distributed under the License is distributed on an "AS IS" BASIS,
13 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14 * See the License for the specific language governing permissions and
15 * limitations under the License.
16 -->
17 <web-app xmlns="http://java.sun.com/xml/ns/javaee" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" version="2.5" xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd">
18 <display-name>hst_docs</display-name>
19 <description>hst_docs website</description>
20
21 <!-- Repository Context Params -->
22 <context-param>
23 <param-name>repository-address</param-name>
24 <param-value>rmi://localhost:1099/hipporepository</param-value>
25 <description>The address of the repository</description>
26 </context-param>
27 <context-param>
28 <param-name>repository-directory</param-name>
29 <param-value>/home/site/repository-data</param-value>
30 <description>The storage location the repository</description>
31 </context-param>
32 <!-- END Repository Context Params -->
33
34 <!-- Site Context Params -->
35 <context-param>
36 <param-name>log4jConfigLocation</param-name>
37 <param-value>/WEB-INF/classes/log4j.xml</param-value>
38 </context-param>
39 <context-param>
40 <param-name>log4jRefreshInterval</param-name>
41 <param-value>60000</param-value>
42 </context-param>
43 <context-param>
44 <param-name>webAppRootKey</param-name>
45 <param-value>site.root</param-value>
46 </context-param>
47 <!-- END Site Context Params -->
48
49 <!-- Site Listeners -->
50 <listener>
51 <listener-class>org.springframework.web.util.Log4jConfigListener</listener-class>
52 </listener>
53 <!-- END Site Listeners -->
54
55 <!-- Site Filters -->
56 <filter>
57 <filter-name>charsetFilter</filter-name>
58 <filter-class>org.springframework.web.filter.CharacterEncodingFilter</filter-class>
59 <init-param>
60 <param-name>encoding</param-name>
61 <param-value>UTF-8</param-value>
62 </init-param>
63 <init-param>
64 <param-name>forceEncoding</param-name>
65 <param-value>true</param-value>
66 </init-param>
67 </filter>
68 <filter>
69 <filter-name>AuthFilter</filter-name>
70 <filter-class>org.onehippo.forge.authfilter.BasicAuthenticationFilter</filter-class>
71 <init-param>
72 <param-name>realm</param-name>
73 <param-value>Docs Site Preview</param-value>
74 </init-param>
75 <init-param>
76 <param-name>cache-period</param-name>
77 <param-value>120000</param-value>
78 </init-param>
79 <init-param>
80 <param-name>check-path</param-name>
81 <param-value>/content/documents</param-value>
82 </init-param>
83 <init-param>
84 <param-name>check-privileges</param-name>
85 <param-value>hippo:author</param-value>
86 </init-param>
87 </filter>
88 <filter>
89 <filter-name>HstVirtualHostsFilter</filter-name>
90 <filter-class>org.hippoecm.hst.container.HstVirtualHostsFilter</filter-class>
91 <init-param>
92 <param-name>welcome-page</param-name>
93 <param-value>home.html</param-value>
94 </init-param>
95 <init-param>
96 <param-name>preview-prefix</param-name>
97 <param-value>/preview</param-value>
98 </init-param>
99 </filter>
100
101 <filter-mapping>
102 <filter-name>charsetFilter</filter-name>
103 <url-pattern>/*</url-pattern>
104 </filter-mapping>
105 <filter-mapping>
106 <filter-name>AuthFilter</filter-name>
107 <url-pattern>/preview/*</url-pattern>
108 </filter-mapping>
109 <filter-mapping>
110 <filter-name>HstVirtualHostsFilter</filter-name>
111 <url-pattern>/*</url-pattern>
112 <dispatcher>REQUEST</dispatcher>
113 </filter-mapping>
114 <!-- END Site Filters -->
115
116 <!-- Repository Servlets -->
117 <servlet>
118 <servlet-name>Repository</servlet-name>
119 <servlet-class>org.hippoecm.repository.RepositoryServlet</servlet-class>
120 <load-on-startup>0</load-on-startup>
121 </servlet>
122 <servlet>
123 <servlet-name>StatusServlet</servlet-name>
124 <servlet-class>org.hippoecm.repository.StatusServlet</servlet-class>
125 <load-on-startup>1</load-on-startup>
126 </servlet>
127 <servlet>
128 <servlet-name>LoggingServlet</servlet-name>
129 <servlet-class>org.hippoecm.repository.LoggingServlet</servlet-class>
130 <load-on-startup>2</load-on-startup>
131 </servlet>
132 <servlet>
133 <servlet-name>PingServlet</servlet-name>
134 <servlet-class>org.hippoecm.repository.PingServlet</servlet-class>
135 <load-on-startup>3</load-on-startup>
136 <init-param>
137 <param-name>repository-address</param-name>
138 <param-value>vm://</param-value>
139 </init-param>
140 </servlet>
141 <!-- END Repository Servlets -->
142
143 <!-- Site Servlets -->
144 <servlet>
145 <servlet-name>HstSiteConfigServlet</servlet-name>
146 <servlet-class>org.hippoecm.hst.site.container.HstSiteConfigServlet</servlet-class>
147 <load-on-startup>3</load-on-startup>
148 </servlet>
149 <servlet>
150 <servlet-name>HstContainerServlet</servlet-name>
151 <servlet-class>org.hippoecm.hst.container.HstContainerServlet</servlet-class>
152 <init-param>
153 <param-name>clientComponentManagerClass</param-name>
154 <param-value>org.hippoecm.hst.component.support.ClientComponentManager</param-value>
155 </init-param>
156 <init-param>
157 <param-name>clientComponentManagerConfigurations</param-name>
158 <param-value>/META-INF/client-assembly/*.xml</param-value>
159 </init-param>
160 <load-on-startup>4</load-on-startup>
161 </servlet>
162 <servlet>
163 <servlet-name>BinariesServlet</servlet-name>
164 <servlet-class>org.hippoecm.hst.servlet.BinariesServlet</servlet-class>
165 <init-param>
166 <param-name>primaryitem</param-name>
167 <param-value>hippogallery:picture</param-value>
168 </init-param>
169 </servlet>
170 <servlet>
171 <servlet-name>StaticResourceServlet</servlet-name>
172 <servlet-class>org.hippoecm.hst.servlet.StaticResourceServlet</servlet-class>
173 </servlet>
174 <!-- END Site Servlets -->
175
176 <!-- Repository Servlet Mappings -->
177 <servlet-mapping>
178 <servlet-name>StatusServlet</servlet-name>
179 <url-pattern>/jvmStatus/*</url-pattern>
180 </servlet-mapping>
181 <servlet-mapping>
182 <servlet-name>LoggingServlet</servlet-name>
183 <url-pattern>/logging/*</url-pattern>
184 </servlet-mapping>
185 <servlet-mapping>
186 <servlet-name>Repository</servlet-name>
187 <url-pattern>/repository/*</url-pattern>
188 </servlet-mapping>
189 <servlet-mapping>
190 <servlet-name>PingServlet</servlet-name>
191 <url-pattern>/ping/*</url-pattern>
192 </servlet-mapping>
193 <!-- END Repository Servlet Mappings -->
194
195 <!-- Site Servlet Mappings -->
196 <servlet-mapping>
197 <servlet-name>HstContainerServlet</servlet-name>
198 <url-pattern>/preview/*</url-pattern>
199 </servlet-mapping>
200 <servlet-mapping>
201 <servlet-name>HstContainerServlet</servlet-name>
202 <url-pattern>/live/*</url-pattern>
203 </servlet-mapping>
204 <servlet-mapping>
205 <servlet-name>BinariesServlet</servlet-name>
206 <url-pattern>/binaries/*</url-pattern>
207 </servlet-mapping>
208 <servlet-mapping>
209 <servlet-name>StaticResourceServlet</servlet-name>
210 <url-pattern>/staticresource/*</url-pattern>
211 </servlet-mapping>
212 <!-- END Site Servlet Mappings -->
213
214 <!-- Site Welcome List -->
215 <welcome-file-list>
216 <welcome-file>index.jsp</welcome-file>
217 </welcome-file-list>
218 <!-- END Site Welcome List -->
219
220 <!-- Site Error Pages -->
221 <error-page>
222 <error-code>404</error-code>
223 <location>/jsp/ErrorPage404.jsp</location>
224 </error-page>
225 <error-page>
226 <error-code>500</error-code>
227 <location>/jsp/ErrorPage500.jsp</location>
228 </error-page>
229 <error-page>
230 <exception-type>org.hippoecm.hst.core.container.ContainerNotFoundException</exception-type>
231 <location>/jsp/ErrorPage404.jsp</location>
232 </error-page>
233 <error-page>
234 <exception-type>java.io.FileNotFoundException</exception-type>
235 <location>/jsp/ErrorPage404.jsp</location>
236 </error-page>
237 <error-page>
238 <exception-type>org.hippoecm.hst.core.container.ContainerException</exception-type>
239 <location>/jsp/ErrorPage500.jsp</location>
240 </error-page>
241 <error-page>
242 <exception-type>Exception</exception-type>
243 <location>/jsp/ErrorPage500.jsp</location>
244 </error-page>
245 <!-- END Site Error Pages -->
246
247 <jsp-config>
248 <jsp-property-group>
249 <url-pattern>*.jsp</url-pattern>
250 <page-encoding>UTF-8</page-encoding>
251 <is-xml>true</is-xml>
252 <trim-directive-whitespaces>true</trim-directive-whitespaces>
253 </jsp-property-group>
254 </jsp-config>
255
256 <resource-ref>
257 <res-ref-name>jdbc/repositoryDS</res-ref-name>
258 <res-type>javax.sql.DataSource</res-type>
259 <res-auth>Container</res-auth>
260 </resource-ref>
261
262 <!-- Timeout in minutes -->
263 <session-config>
264 <session-timeout>10</session-timeout>
265 </session-config>
266
267 </web-app>

Properties

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