• Andy Wilkinson's avatar
    Make the configuration of the document root consistent across containers · 89f8af4e
    Andy Wilkinson authored
    Previously, if getValidDocumentRoot() returned null, only the embedded
    Tomcat container would use a temporary directory. This left Jetty and
    Undertow unable to provide a URL for the root of the servlet context,
    i.e. servletContext.getResource("/") would return null.
    
    This commit updates the embedded containers for Jetty and Undertow to
    behave in the same way as Tomcat. A test has been added to verify that
    all three containers can produce a non-null URL for the root of the
    servlet context.
    
    Closes gh-2878
    89f8af4e
Name
Last commit
Last update
.mvn Loading commit data...
docs Loading commit data...
eclipse Loading commit data...
spring-boot Loading commit data...
spring-boot-actuator Loading commit data...
spring-boot-actuator-docs Loading commit data...
spring-boot-autoconfigure Loading commit data...
spring-boot-cli Loading commit data...
spring-boot-dependencies Loading commit data...
spring-boot-deployment-tests Loading commit data...
spring-boot-devtools Loading commit data...
spring-boot-docs Loading commit data...
spring-boot-full-build Loading commit data...
spring-boot-integration-tests Loading commit data...
spring-boot-parent Loading commit data...
spring-boot-samples Loading commit data...
spring-boot-starters Loading commit data...
spring-boot-tools Loading commit data...
.gitignore Loading commit data...
.settings-template.xml Loading commit data...
.travis.yml Loading commit data...
CONTRIBUTING.adoc Loading commit data...
LICENSE.txt Loading commit data...
README.adoc Loading commit data...
mvnw Loading commit data...
mvnw.cmd Loading commit data...
pom.xml Loading commit data...