Support "classpath:" URLs for "resourceBase" of static servlets
andrus opened this issue · comments
Andrus Adamchik commented
jetty.staticResourceBase
can be a Bootique classpath:
URL. At the same time jetty.servlets.abc.params.resourceBase
can not (as it is a servlet parameter not managed by Bootique) This makes it impossible to map classpath based per-servlet doc roots (https://bootique.io/docs/latest/bootique-jetty-docs/#serving-static-files).
We need to subclass Jetty DefaultServlet
with our own version that recognizes "classpath:" resource base.