redirect to overview page

This commit is contained in:
Sebastian Sdorra
2011-09-13 16:56:00 +02:00
parent fec7a22c44
commit b1a10c4761
3 changed files with 47 additions and 20 deletions

View File

@@ -31,22 +31,42 @@
--> -->
<web-app version="2.5" xmlns="http://java.sun.com/xml/ns/javaee" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd"> <web-app version="2.5"
xmlns="http://java.sun.com/xml/ns/javaee"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd">
<listener> <listener>
<listener-class>sonia.scm.plugin.BackendContextListener</listener-class> <listener-class>sonia.scm.plugin.BackendContextListener</listener-class>
</listener> </listener>
<filter> <filter>
<filter-name>guiceFilter</filter-name> <filter-name>guiceFilter</filter-name>
<filter-class>com.google.inject.servlet.GuiceFilter</filter-class> <filter-class>com.google.inject.servlet.GuiceFilter</filter-class>
</filter> </filter>
<filter-mapping> <filter-mapping>
<filter-name>guiceFilter</filter-name> <filter-name>guiceFilter</filter-name>
<url-pattern>/*</url-pattern> <url-pattern>/*</url-pattern>
</filter-mapping> </filter-mapping>
<welcome-file-list> <welcome-file-list>
<welcome-file>index.html</welcome-file> <welcome-file>redirect.html</welcome-file>
</welcome-file-list> </welcome-file-list>
<session-config> <session-config>
<session-timeout>30</session-timeout> <session-timeout>30</session-timeout>
</session-config> </session-config>
<security-constraint>
<display-name>Restrict XHTML Documents</display-name>
<web-resource-collection>
<web-resource-name>XHTML</web-resource-name>
<url-pattern>*.ftl</url-pattern>
</web-resource-collection>
<auth-constraint>
<role-name>none</role-name>
</auth-constraint>
</security-constraint>
</web-app> </web-app>

View File

@@ -0,0 +1,8 @@
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<meta http-equiv="refresh" content="0;url=page/index.html">
</head>
<body></body>
</html>

View File

@@ -44,7 +44,6 @@
<!--[if lt IE 9]> <!--[if lt IE 9]>
<script src="${contextPath}template/js/html5.js"></script> <script src="${contextPath}template/js/html5.js"></script>
<![endif]--> <![endif]-->
<base href="${contextPath}" /> <base href="${contextPath}" />
</head> </head>
<body class="home page page-id-8 page-template-default logged-in admin-bar layout-2cr"> <body class="home page page-id-8 page-template-default logged-in admin-bar layout-2cr">