mindless history.txt servlet

This commit is contained in:
zzz
2010-12-03 20:40:34 +00:00
parent fabbda659b
commit 8976746867
3 changed files with 19 additions and 1 deletions

View File

@ -53,7 +53,8 @@ public class LocaleWebAppHandler extends WebApplicationHandler
// home page
pathInContext = "/index.jsp";
} else if (pathInContext.indexOf("/", 1) < 0 &&
!pathInContext.endsWith(".jsp")) {
(!pathInContext.endsWith(".jsp")) &&
(!pathInContext.endsWith(".txt"))) {
// add .jsp to pages at top level
pathInContext += ".jsp";
}