Merge remote-tracking branch 'origin/jetty-8'
Conflicts: jetty-webapp/src/main/java/org/eclipse/jetty/webapp/StandardDescriptorProcessor.java
This commit is contained in:
commit
3d553e79a9
|
@ -1165,7 +1165,8 @@ public class StandardDescriptorProcessor extends IterativeDescriptorProcessor
|
|||
String welcome = indexNode.toString(false, true);
|
||||
|
||||
//Servlet Spec 3.0 p. 74 welcome files are additive
|
||||
context.setWelcomeFiles((String[])ArrayUtil.addToArray(context.getWelcomeFiles(),welcome,String.class));
|
||||
if (welcome != null && welcome.trim().length() > 0)
|
||||
context.setWelcomeFiles((String[])ArrayUtil.addToArray(context.getWelcomeFiles(),welcome,String.class));
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue