fix getWebApp()

This commit is contained in:
zzz
2011-12-23 15:36:44 +00:00
parent 41ea29209f
commit d976b59732

View File

@ -155,7 +155,7 @@ public class WebAppStarter {
String path = '/'+ appName;
for (int i = 0; i < handlers.length; i++) {
ContextHandler ch = (ContextHandler) handlers[i];
if (appName.equals(ch.getContextPath()))
if (path.equals(ch.getContextPath()))
return ch;
}
return null;