Dan and Willem,

It looks to me like I'm fairly nearly stuck until you let me fully
control the server wiring unless I'm willing to do some fairly extensive
rewiring of your wiring.

The jetty doc isn't precisely helpful here, but I have reached the
following tentative view of the situation:

As things are, the org.mortbay.jetty.Server has, as its singular
handler, a ContextHandlerCollection, which has (at least one)
ContextHandler. ContextHandlers are all about Servlet contexts, of
course.

Once a ContextHandlerCollection has at least one ContextHandler, it
ignores any ordinary handlers that it has when handling any request that
begins with '/'. 

So, to get a ResourceHandler into the game, I think that I'd have to
create a HandlerList and have that point off to the
ContextHandlerCollection as well as the ResourceHandler, and install it
as the server's handler.

I have a giant feeling here that there's something basic I'm missing
about Jetty that is supposed to make this easier, but I'm pretty near to
accusing the folks who run the Jetty web site of intentionally making
the version 6 docs less helpful than the version 5 docs to sell more
consulting.

Probably just sour grapes on my part.

--benson

Reply via email to