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

Am 27.03.2015 um 14:45 schrieb Joakim Erdfelt:
> 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)

I'm calling servletContextHandler.addServlet(servletHolder, pathSpec)

So the answer is, no?

Cheers, Lothar

Back to the top