/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. Copyright (C) 2009-2010 the original author or authors.
  4. See the notice.md file distributed with this work for additional
  5. information regarding copyright ownership.
  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. http://www.apache.org/licenses/LICENSE-2.0
  10. Unless required by applicable law or agreed to in writing, software
  11. distributed under the License is distributed on an "AS IS" BASIS,
  12. WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  13. See the License for the specific language governing permissions and
  14. limitations under the License.
  15. -->
  16. <web-app xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  17. xmlns="http://java.sun.com/xml/ns/javaee" xmlns:web="http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd"
  18. xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd"
  19. version="2.5">
  20. <display-name>Scalate Sample Local Wiki</display-name>
  21. <description>
  22. Scalate Sample Local Wiki
  23. </description>
  24. <filter>
  25. <filter-name>TemplateEngineFilter</filter-name>
  26. <filter-class>org.fusesource.scalate.servlet.TemplateEngineFilter</filter-class>
  27. </filter>
  28. <filter-mapping>
  29. <filter-name>TemplateEngineFilter</filter-name>
  30. <url-pattern>/*</url-pattern>
  31. </filter-mapping>
  32. <welcome-file-list>
  33. <welcome-file>index.page</welcome-file>
  34. </welcome-file-list>
  35. <error-page>
  36. <error-code>500</error-code>
  37. <location>/WEB-INF/scalate/errors/500.scaml</location>
  38. </error-page>
  39. </web-app>