Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [jetty-users] How to prevent ServletHandler$Default404Servlet from being added

You are using ServletContextHandler and its various .addServlet() methods, right?
You really shouldn't be using ServletHandler directly (that's an internal class for ServletContextHandler)

Joakim Erdfelt <joakim@xxxxxxxxxxx>
Expert advice, services and support from from the Jetty & CometD experts

On Fri, Mar 27, 2015 at 6:27 AM, Lothar Kimmeringer <job@xxxxxxxxxxxxxx> wrote:

I updated from Jetty 9.0.x to 9.2.x and (as always) run into problems.
All ServletHandlers seem to be created with a default servlet

Problem is that I've got a configuration where there are files
residing on the file system with URL /xyz/abc/...
and a servlet that should be accessible via URL /xyz/def/...
With 9.2.9 I now receive a 404 when trying to access resources
at /xyz/abc.

How can I get back to the behavior the way it was with all
versions up to 9.0 (I skipped 9.1 so maybe the same happens
there already).

Best regards,

jetty-users mailing list
To change your delivery options, retrieve your password, or unsubscribe from this list, visit

Back to the top