if (welcomeFile != null && welcomeFile.exists()) {
if (entry != defaultEntry) {
RequestDispatcher dispatcher = request.getRequestDispatcher(path + welcomeName);
return staticFileUtils.serveWelcomeFileAsForward(dispatcher, included, request, response);
}
if (appEngineWebXml.includesResource(relativePath)) {
RequestDispatcher dispatcher = request.getRequestDispatcher(path + welcomeName);
return staticFileUtils.serveWelcomeFileAsForward(dispatcher, included, request, response);
}
}
RequestDispatcher namedDispatcher = context.getNamedDispatcher(welcomeName);