PageRenderTime 60ms CodeModel.GetById 55ms app.highlight 1ms RepoModel.GetById 1ms app.codeStats 0ms

/samples/scalate-sample-scuery/src/main/webapp/WEB-INF/web.xml

http://github.com/scalate/scalate
XML | 51 lines | 25 code | 7 blank | 19 comment | 0 complexity | 770365f01f0edaf76b8d7f9346deee02 MD5 | raw file
 1<?xml version="1.0" encoding="UTF-8"?>
 2<!--
 3
 4    Copyright (C) 2009-2011 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<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>ScQuery Sample</display-name>
27
28  <description>
29    ScQuery Sample
30  </description>
31
32  <listener>
33    <listener-class>org.fusesource.scalate.samples.scuery.ServletContextListener</listener-class>
34  </listener>
35
36  <filter>
37    <filter-name>guiceFilter</filter-name>
38    <filter-class>com.google.inject.servlet.GuiceFilter</filter-class>
39  </filter>
40
41  <filter-mapping>
42    <filter-name>guiceFilter</filter-name>
43    <url-pattern>/*</url-pattern>
44  </filter-mapping>
45
46  <error-page>
47    <error-code>500</error-code>
48    <location>/WEB-INF/scalate/errors/500.scaml</location>
49  </error-page>
50
51</web-app>