diff --git a/jetty-deploy/src/test/resources/etc/webdefault.xml b/jetty-deploy/src/test/resources/etc/webdefault.xml
index 13a96e9e4e3..6a58d988747 100644
--- a/jetty-deploy/src/test/resources/etc/webdefault.xml
+++ b/jetty-deploy/src/test/resources/etc/webdefault.xml
@@ -1,112 +1,141 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+ xsi:schemaLocation="http://xmlns.jcp.org/xml/ns/javaee http://xmlns.jcp.org/xml/ns/javaee/web-app_3_1.xsd"
+ metadata-complete="false"
+ version="3.1">
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
Default web.xml file.
This file is applied to a Web application before it's own WEB_INF/web.xml file
+
+
+
+
+
+ org.eclipse.jetty.servlet.listener.ELContextCleaner
+
+
+
+
+
+
+
+ org.eclipse.jetty.servlet.listener.IntrospectorCleaner
+
+
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
default
org.eclipse.jetty.servlet.DefaultServlet
+
+ aliases
+ false
+
acceptRanges
true
@@ -117,8 +146,8 @@
welcomeServlets
- false
-
+ false
+
redirectWelcome
false
@@ -129,24 +158,30 @@
maxCachedFileSize
- 10000000
+ 200000000
maxCachedFiles
- 1000
-
-
- cacheType
- both
+ 2048
gzip
true
+
+ etags
+ false
+
useFileMappedBuffer
true
-
+
+
0
-
+
+
+
+ default
+ /
+
- default /
-
-
+
-
-
-
-
+
+
+
+
@@ -175,7 +213,7 @@
-
+
@@ -236,28 +274,29 @@
-
-
-
-
-
-
-
jsp
- org.apache.jasper.servlet.JspServlet
+ org.eclipse.jetty.jsp.JettyJspServlet
- logVerbosityLevel
- DEBUG
+ logVerbosityLevel
+ DEBUG
- fork
- false
+ fork
+ false
- xpoweredBy
- false
+ xpoweredBy
+ false
+
+
+ compilerTargetVM
+ 1.7
+
+
+ compilerSourceVM
+ 1.7
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
-
-
-
-
-
30
@@ -342,6 +341,8 @@
-->
+
+
index.html
index.htm
@@ -349,48 +350,170 @@
+
+
- arISO-8859-6
- beISO-8859-5
- bgISO-8859-5
- caISO-8859-1
- csISO-8859-2
- daISO-8859-1
- deISO-8859-1
- elISO-8859-7
- enISO-8859-1
- esISO-8859-1
- etISO-8859-1
- fiISO-8859-1
- frISO-8859-1
- hrISO-8859-2
- huISO-8859-2
- isISO-8859-1
- itISO-8859-1
- iwISO-8859-8
- jaShift_JIS
- koEUC-KR
- ltISO-8859-2
- lvISO-8859-2
- mkISO-8859-5
- nlISO-8859-1
- noISO-8859-1
- plISO-8859-2
- ptISO-8859-1
- roISO-8859-2
- ruISO-8859-5
- shISO-8859-5
- skISO-8859-2
- slISO-8859-2
- sqISO-8859-2
- srISO-8859-5
- svISO-8859-1
- trISO-8859-9
- ukISO-8859-5
- zhGB2312
- zh_TWBig5
+
+ ar
+ ISO-8859-6
+
+
+ be
+ ISO-8859-5
+
+
+ bg
+ ISO-8859-5
+
+
+ ca
+ ISO-8859-1
+
+
+ cs
+ ISO-8859-2
+
+
+ da
+ ISO-8859-1
+
+
+ de
+ ISO-8859-1
+
+
+ el
+ ISO-8859-7
+
+
+ en
+ ISO-8859-1
+
+
+ es
+ ISO-8859-1
+
+
+ et
+ ISO-8859-1
+
+
+ fi
+ ISO-8859-1
+
+
+ fr
+ ISO-8859-1
+
+
+ hr
+ ISO-8859-2
+
+
+ hu
+ ISO-8859-2
+
+
+ is
+ ISO-8859-1
+
+
+ it
+ ISO-8859-1
+
+
+ iw
+ ISO-8859-8
+
+
+ ja
+ Shift_JIS
+
+
+ ko
+ EUC-KR
+
+
+ lt
+ ISO-8859-2
+
+
+ lv
+ ISO-8859-2
+
+
+ mk
+ ISO-8859-5
+
+
+ nl
+ ISO-8859-1
+
+
+ no
+ ISO-8859-1
+
+
+ pl
+ ISO-8859-2
+
+
+ pt
+ ISO-8859-1
+
+
+ ro
+ ISO-8859-2
+
+
+ ru
+ ISO-8859-5
+
+
+ sh
+ ISO-8859-5
+
+
+ sk
+ ISO-8859-2
+
+
+ sl
+ ISO-8859-2
+
+
+ sq
+ ISO-8859-2
+
+
+ sr
+ ISO-8859-5
+
+
+ sv
+ ISO-8859-1
+
+
+ tr
+ ISO-8859-9
+
+
+ uk
+ ISO-8859-5
+
+
+ zh
+ GB2312
+
+
+ zh_TW
+ Big5
+
-
+
+
+
+
Disable TRACE
@@ -399,6 +522,13 @@
-
+
+
+ Enable everything but TRACE
+ /
+ TRACE
+
+
+
diff --git a/jetty-osgi/test-jetty-osgi/src/test/config/etc/webdefault.xml b/jetty-osgi/test-jetty-osgi/src/test/config/etc/webdefault.xml
index 1d61c93dba7..d54d76f3072 100644
--- a/jetty-osgi/test-jetty-osgi/src/test/config/etc/webdefault.xml
+++ b/jetty-osgi/test-jetty-osgi/src/test/config/etc/webdefault.xml
@@ -1,112 +1,141 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+ xsi:schemaLocation="http://xmlns.jcp.org/xml/ns/javaee http://xmlns.jcp.org/xml/ns/javaee/web-app_3_1.xsd"
+ metadata-complete="false"
+ version="3.1">
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
- Default web.xml file.
+ Default web.xml file.
This file is applied to a Web application before it's own WEB_INF/web.xml file
+
+
+
+
+
+ org.eclipse.jetty.servlet.listener.ELContextCleaner
+
+
+
+
+
+
+
+ org.eclipse.jetty.servlet.listener.IntrospectorCleaner
+
+
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
default
org.eclipse.jetty.servlet.DefaultServlet
+
+ aliases
+ false
+
acceptRanges
true
@@ -129,25 +158,31 @@
maxCachedFileSize
- 10000000
+ 200000000
maxCachedFiles
- 1000
-
-
- cacheType
- both
+ 2048
gzip
- true
+ false
+
+
+ etags
+ false
useFileMappedBuffer
true
+
-
+
-
-
-
-
+
+
+
+
@@ -175,7 +213,7 @@
-
+
@@ -236,30 +274,31 @@
-
-
-
-
-
-
-
jsp
- org.apache.jasper.servlet.JspServlet
+ org.eclipse.jetty.jsp.JettyJspServlet
- logVerbosityLevel
- DEBUG
+ logVerbosityLevel
+ DEBUG
- fork
- false
+ fork
+ false
- xpoweredBy
- false
+ xpoweredBy
+ false
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
-
-
-
-
-
30
@@ -331,7 +330,7 @@
-
+
+
+
index.html
index.htm
@@ -349,48 +350,170 @@
+
+
- arISO-8859-6
- beISO-8859-5
- bgISO-8859-5
- caISO-8859-1
- csISO-8859-2
- daISO-8859-1
- deISO-8859-1
- elISO-8859-7
- enISO-8859-1
- esISO-8859-1
- etISO-8859-1
- fiISO-8859-1
- frISO-8859-1
- hrISO-8859-2
- huISO-8859-2
- isISO-8859-1
- itISO-8859-1
- iwISO-8859-8
- jaShift_JIS
- koEUC-KR
- ltISO-8859-2
- lvISO-8859-2
- mkISO-8859-5
- nlISO-8859-1
- noISO-8859-1
- plISO-8859-2
- ptISO-8859-1
- roISO-8859-2
- ruISO-8859-5
- shISO-8859-5
- skISO-8859-2
- slISO-8859-2
- sqISO-8859-2
- srISO-8859-5
- svISO-8859-1
- trISO-8859-9
- ukISO-8859-5
- zhGB2312
- zh_TWBig5
+
+ ar
+ ISO-8859-6
+
+
+ be
+ ISO-8859-5
+
+
+ bg
+ ISO-8859-5
+
+
+ ca
+ ISO-8859-1
+
+
+ cs
+ ISO-8859-2
+
+
+ da
+ ISO-8859-1
+
+
+ de
+ ISO-8859-1
+
+
+ el
+ ISO-8859-7
+
+
+ en
+ ISO-8859-1
+
+
+ es
+ ISO-8859-1
+
+
+ et
+ ISO-8859-1
+
+
+ fi
+ ISO-8859-1
+
+
+ fr
+ ISO-8859-1
+
+
+ hr
+ ISO-8859-2
+
+
+ hu
+ ISO-8859-2
+
+
+ is
+ ISO-8859-1
+
+
+ it
+ ISO-8859-1
+
+
+ iw
+ ISO-8859-8
+
+
+ ja
+ Shift_JIS
+
+
+ ko
+ EUC-KR
+
+
+ lt
+ ISO-8859-2
+
+
+ lv
+ ISO-8859-2
+
+
+ mk
+ ISO-8859-5
+
+
+ nl
+ ISO-8859-1
+
+
+ no
+ ISO-8859-1
+
+
+ pl
+ ISO-8859-2
+
+
+ pt
+ ISO-8859-1
+
+
+ ro
+ ISO-8859-2
+
+
+ ru
+ ISO-8859-5
+
+
+ sh
+ ISO-8859-5
+
+
+ sk
+ ISO-8859-2
+
+
+ sl
+ ISO-8859-2
+
+
+ sq
+ ISO-8859-2
+
+
+ sr
+ ISO-8859-5
+
+
+ sv
+ ISO-8859-1
+
+
+ tr
+ ISO-8859-9
+
+
+ uk
+ ISO-8859-5
+
+
+ zh
+ GB2312
+
+
+ zh_TW
+ Big5
+
+
+
+
Disable TRACE
@@ -399,6 +522,13 @@
+
+
+ Enable everything but TRACE
+ /
+ TRACE
+
+
diff --git a/jetty-start/src/test/resources/dist-home/etc/webdefault.xml b/jetty-start/src/test/resources/dist-home/etc/webdefault.xml
index e69de29bb2d..d54d76f3072 100644
--- a/jetty-start/src/test/resources/dist-home/etc/webdefault.xml
+++ b/jetty-start/src/test/resources/dist-home/etc/webdefault.xml
@@ -0,0 +1,534 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Default web.xml file.
+ This file is applied to a Web application before it's own WEB_INF/web.xml file
+
+
+
+
+
+
+
+ org.eclipse.jetty.servlet.listener.ELContextCleaner
+
+
+
+
+
+
+
+ org.eclipse.jetty.servlet.listener.IntrospectorCleaner
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ default
+ org.eclipse.jetty.servlet.DefaultServlet
+
+ aliases
+ false
+
+
+ acceptRanges
+ true
+
+
+ dirAllowed
+ true
+
+
+ welcomeServlets
+ false
+
+
+ redirectWelcome
+ false
+
+
+ maxCacheSize
+ 256000000
+
+
+ maxCachedFileSize
+ 200000000
+
+
+ maxCachedFiles
+ 2048
+
+
+ gzip
+ false
+
+
+ etags
+ false
+
+
+ useFileMappedBuffer
+ true
+
+
+
+ 0
+
+
+
+ default
+ /
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ jsp
+ org.eclipse.jetty.jsp.JettyJspServlet
+
+ logVerbosityLevel
+ DEBUG
+
+
+ fork
+ false
+
+
+ xpoweredBy
+ false
+
+
+ compilerTargetVM
+ 1.7
+
+
+ compilerSourceVM
+ 1.7
+
+
+ 0
+
+
+
+ jsp
+ *.jsp
+ *.jspf
+ *.jspx
+ *.xsp
+ *.JSP
+ *.JSPF
+ *.JSPX
+ *.XSP
+
+
+
+
+
+
+
+ 30
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ index.html
+ index.htm
+ index.jsp
+
+
+
+
+
+
+
+ ar
+ ISO-8859-6
+
+
+ be
+ ISO-8859-5
+
+
+ bg
+ ISO-8859-5
+
+
+ ca
+ ISO-8859-1
+
+
+ cs
+ ISO-8859-2
+
+
+ da
+ ISO-8859-1
+
+
+ de
+ ISO-8859-1
+
+
+ el
+ ISO-8859-7
+
+
+ en
+ ISO-8859-1
+
+
+ es
+ ISO-8859-1
+
+
+ et
+ ISO-8859-1
+
+
+ fi
+ ISO-8859-1
+
+
+ fr
+ ISO-8859-1
+
+
+ hr
+ ISO-8859-2
+
+
+ hu
+ ISO-8859-2
+
+
+ is
+ ISO-8859-1
+
+
+ it
+ ISO-8859-1
+
+
+ iw
+ ISO-8859-8
+
+
+ ja
+ Shift_JIS
+
+
+ ko
+ EUC-KR
+
+
+ lt
+ ISO-8859-2
+
+
+ lv
+ ISO-8859-2
+
+
+ mk
+ ISO-8859-5
+
+
+ nl
+ ISO-8859-1
+
+
+ no
+ ISO-8859-1
+
+
+ pl
+ ISO-8859-2
+
+
+ pt
+ ISO-8859-1
+
+
+ ro
+ ISO-8859-2
+
+
+ ru
+ ISO-8859-5
+
+
+ sh
+ ISO-8859-5
+
+
+ sk
+ ISO-8859-2
+
+
+ sl
+ ISO-8859-2
+
+
+ sq
+ ISO-8859-2
+
+
+ sr
+ ISO-8859-5
+
+
+ sv
+ ISO-8859-1
+
+
+ tr
+ ISO-8859-9
+
+
+ uk
+ ISO-8859-5
+
+
+ zh
+ GB2312
+
+
+ zh_TW
+ Big5
+
+
+
+
+
+
+
+
+ Disable TRACE
+ /
+ TRACE
+
+
+
+
+
+ Enable everything but TRACE
+ /
+ TRACE
+
+
+
+
+
diff --git a/tests/test-integration/src/test/resources/webdefault.xml b/tests/test-integration/src/test/resources/webdefault.xml
index d87a7e24e1b..d54d76f3072 100644
--- a/tests/test-integration/src/test/resources/webdefault.xml
+++ b/tests/test-integration/src/test/resources/webdefault.xml
@@ -1,112 +1,141 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+ xsi:schemaLocation="http://xmlns.jcp.org/xml/ns/javaee http://xmlns.jcp.org/xml/ns/javaee/web-app_3_1.xsd"
+ metadata-complete="false"
+ version="3.1">
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
Default web.xml file.
This file is applied to a Web application before it's own WEB_INF/web.xml file
+
+
+
+
+
+ org.eclipse.jetty.servlet.listener.ELContextCleaner
+
+
+
+
+
+
+
+ org.eclipse.jetty.servlet.listener.IntrospectorCleaner
+
+
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
default
org.eclipse.jetty.servlet.DefaultServlet
+
+ aliases
+ false
+
acceptRanges
true
@@ -117,8 +146,8 @@
welcomeServlets
- false
-
+ false
+
redirectWelcome
false
@@ -129,24 +158,30 @@
maxCachedFileSize
- 10000000
+ 200000000
maxCachedFiles
- 1000
-
-
- cacheType
- both
+ 2048
gzip
- true
+ false
+
+
+ etags
+ false
useFileMappedBuffer
true
-
+
+
0
-
+
+
+
+ default
+ /
+
- default /
-
-
+
-
-
-
-
+
+
+
+
@@ -175,7 +213,7 @@
-
+
@@ -236,28 +274,29 @@
-
-
-
-
-
-
-
jsp
- org.apache.jasper.servlet.JspServlet
+ org.eclipse.jetty.jsp.JettyJspServlet
- logVerbosityLevel
- DEBUG
+ logVerbosityLevel
+ DEBUG
- fork
- false
+ fork
+ false
- xpoweredBy
- false
+ xpoweredBy
+ false
+
+
+ compilerTargetVM
+ 1.7
+
+
+ compilerSourceVM
+ 1.7
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
-
-
-
-
-
30
@@ -331,7 +330,7 @@
-
+
+
+
index.html
index.htm
@@ -349,48 +350,170 @@
+
+
- arISO-8859-6
- beISO-8859-5
- bgISO-8859-5
- caISO-8859-1
- csISO-8859-2
- daISO-8859-1
- deISO-8859-1
- elISO-8859-7
- enISO-8859-1
- esISO-8859-1
- etISO-8859-1
- fiISO-8859-1
- frISO-8859-1
- hrISO-8859-2
- huISO-8859-2
- isISO-8859-1
- itISO-8859-1
- iwISO-8859-8
- jaShift_JIS
- koEUC-KR
- ltISO-8859-2
- lvISO-8859-2
- mkISO-8859-5
- nlISO-8859-1
- noISO-8859-1
- plISO-8859-2
- ptISO-8859-1
- roISO-8859-2
- ruISO-8859-5
- shISO-8859-5
- skISO-8859-2
- slISO-8859-2
- sqISO-8859-2
- srISO-8859-5
- svISO-8859-1
- trISO-8859-9
- ukISO-8859-5
- zhGB2312
- zh_TWBig5
+
+ ar
+ ISO-8859-6
+
+
+ be
+ ISO-8859-5
+
+
+ bg
+ ISO-8859-5
+
+
+ ca
+ ISO-8859-1
+
+
+ cs
+ ISO-8859-2
+
+
+ da
+ ISO-8859-1
+
+
+ de
+ ISO-8859-1
+
+
+ el
+ ISO-8859-7
+
+
+ en
+ ISO-8859-1
+
+
+ es
+ ISO-8859-1
+
+
+ et
+ ISO-8859-1
+
+
+ fi
+ ISO-8859-1
+
+
+ fr
+ ISO-8859-1
+
+
+ hr
+ ISO-8859-2
+
+
+ hu
+ ISO-8859-2
+
+
+ is
+ ISO-8859-1
+
+
+ it
+ ISO-8859-1
+
+
+ iw
+ ISO-8859-8
+
+
+ ja
+ Shift_JIS
+
+
+ ko
+ EUC-KR
+
+
+ lt
+ ISO-8859-2
+
+
+ lv
+ ISO-8859-2
+
+
+ mk
+ ISO-8859-5
+
+
+ nl
+ ISO-8859-1
+
+
+ no
+ ISO-8859-1
+
+
+ pl
+ ISO-8859-2
+
+
+ pt
+ ISO-8859-1
+
+
+ ro
+ ISO-8859-2
+
+
+ ru
+ ISO-8859-5
+
+
+ sh
+ ISO-8859-5
+
+
+ sk
+ ISO-8859-2
+
+
+ sl
+ ISO-8859-2
+
+
+ sq
+ ISO-8859-2
+
+
+ sr
+ ISO-8859-5
+
+
+ sv
+ ISO-8859-1
+
+
+ tr
+ ISO-8859-9
+
+
+ uk
+ ISO-8859-5
+
+
+ zh
+ GB2312
+
+
+ zh_TW
+ Big5
+
-
+
+
+
+
Disable TRACE
@@ -399,6 +522,13 @@
-
+
+
+ Enable everything but TRACE
+ /
+ TRACE
+
+
+