In Jetty, HttpHandlers are order dependant and requests are passed to the handlers in the order they were defined. Thus if a ResourceHandler is defined with:
context.setServingResources(true);or
context.addHandler(new ResourceHandler());before a servlet or other dynamic content handler has been added and/or configured, then the ResourceHandler will server the source of the JSPs, webmacros, etc. before the servlet can be invoked.