I'm programmatically (no web.xml) configuring a Tomcat 8 application and I'd like to load static assets (html, images, css, etc.) from the classpath.
I've done the equivalent for Jetty using ResourceHandler:
ResourceHandler resourceHandler = new ResourceHandler();
String webDir = getClass().getClassLoader().getResource("assets").toExternalForm();
resourceHandler.setResourceBase(webDir);
How exactly is this done in Tomcat?