PageRenderTime 14ms CodeModel.GetById 7ms app.highlight 2ms RepoModel.GetById 1ms app.codeStats 0ms

/scalate-website/src/WEB-INF/web.xml

http://github.com/scalate/scalate
XML | 50 lines | 25 code | 6 blank | 19 comment | 0 complexity | 69a46599c9f074b8394d9a3b675e36c5 MD5 | raw file
 1<?xml version="1.0" encoding="UTF-8"?>
 2<!--
 3
 4    Copyright (C) 2009-2010 the original author or authors.
 5    See the notice.md file distributed with this work for additional
 6    information regarding copyright ownership.
 7
 8    Licensed under the Apache License, Version 2.0 (the "License");
 9    you may not use this file except in compliance with the License.
10    You may obtain a copy of the License at
11
12        http://www.apache.org/licenses/LICENSE-2.0
13
14    Unless required by applicable law or agreed to in writing, software
15    distributed under the License is distributed on an "AS IS" BASIS,
16    WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
17    See the License for the specific language governing permissions and
18    limitations under the License.
19
20-->
21
22<web-app xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
23	xmlns="http://java.sun.com/xml/ns/javaee" xmlns:web="http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd"
24	xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd"
25	version="2.5">
26
27  <display-name>Scalate Sample Local Wiki</display-name>
28
29  <description>
30    Scalate Sample Local Wiki
31  </description>
32
33  <filter>
34    <filter-name>TemplateEngineFilter</filter-name>
35    <filter-class>org.fusesource.scalate.servlet.TemplateEngineFilter</filter-class>
36  </filter>
37  <filter-mapping>
38    <filter-name>TemplateEngineFilter</filter-name>
39    <url-pattern>/*</url-pattern>
40  </filter-mapping>
41
42  <welcome-file-list>
43    <welcome-file>index.page</welcome-file>
44  </welcome-file-list>
45
46  <error-page>
47    <error-code>500</error-code>
48    <location>/WEB-INF/scalate/errors/500.scaml</location>
49  </error-page>
50</web-app>