Provide configuration option to work around new welcome file mapping requirements...
authormarkt <markt@13f79535-47bb-0310-9956-ffa450edef68>
Thu, 28 Oct 2010 22:29:25 +0000 (22:29 +0000)
committermarkt <markt@13f79535-47bb-0310-9956-ffa450edef68>
Thu, 28 Oct 2010 22:29:25 +0000 (22:29 +0000)
commit35c45f212097d8f759aeb65d105e7f8ad1cf647e
tree1086a1f65300f022a85a084b6cd07f4169ec8fdb
parenta0f05fa3185188fbb313af14a2e89805903806ae
Provide configuration option to work around new welcome file mapping requirements of section 10.10 Servlet 3.0 that break a lot of existing apps. The default configuration retains the current Tomcat 6.0.x behaviour. Enabling STRICT_SERVLET_COMPLILANCE enforces the new requirements by default. Includes test cases.

git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@1028521 13f79535-47bb-0310-9956-ffa450edef68
java/org/apache/catalina/Context.java
java/org/apache/catalina/connector/MapperListener.java
java/org/apache/catalina/core/StandardContext.java
java/org/apache/tomcat/util/http/mapper/Mapper.java
test/org/apache/tomcat/util/http/mapper/TestMapper.java
test/org/apache/tomcat/util/http/mapper/TestMapperWelcomeFiles.java [new file with mode: 0644]
test/webapp-3.0/welcome-files/index.jsp [new file with mode: 0644]
webapps/docs/config/context.xml
webapps/docs/config/systemprops.xml