Commit 6ddabb87 authored by Phillip Webb's avatar Phillip Webb

Merge branch '1.1.x'

parents 1f775793 0622b3e9
......@@ -1285,7 +1285,7 @@ If the above customization techniques are too limited, you can register the
TomcatEmbeddedServletContainerFactory factory = new TomcatEmbeddedServletContainerFactory();
factory.setPort(9000);
factory.setSessionTimeout(10, TimeUnit.MINUTES);
factory.addErrorPages(new ErrorPage(HttpStatus.404, "/notfound.html");
factory.addErrorPages(new ErrorPage(HttpStatus.NOT_FOUND, "/notfound.html");
return factory;
}
----
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment