info.aduna.webapp.filters
Class WelcomeRedirectFilter
java.lang.Object
info.aduna.webapp.filters.ResourceRedirectFilter
info.aduna.webapp.filters.WelcomeRedirectFilter
- All Implemented Interfaces:
- javax.servlet.Filter
public class WelcomeRedirectFilter
- extends ResourceRedirectFilter
Filter that redirects requests ending in "/" to a "welcome view", e.g.
index.jsp or welcome.view.
- Author:
- Herko ter Horst
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
WelcomeRedirectFilter
public WelcomeRedirectFilter()
initialize
protected void initialize()
throws javax.servlet.ServletException
- Specified by:
initialize in class ResourceRedirectFilter
- Throws:
javax.servlet.ServletException
getCanonicalPath
protected String getCanonicalPath(String originalPath)
- Specified by:
getCanonicalPath in class ResourceRedirectFilter
- Returns:
- the canonical path for the specified original path, or null if
the original path should be handled as-is according to this
filter
Copyright © 1997-2008 Aduna. All Rights Reserved.