Merge branch '1.2.x'

This commit is contained in:
Andy Wilkinson
2016-01-18 15:19:57 +00:00

View File

@@ -182,6 +182,7 @@ public class TomcatEmbeddedServletContainerFactory
: ClassUtils.getDefaultClassLoader());
try {
context.setUseRelativeRedirects(false);
context.setMapperContextRootRedirectEnabled(true);
}
catch (NoSuchMethodError ex) {
// Tomcat is < 8.0.30. Continue