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