Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [jetty-users] Programatically undeploying an app

Would'nt it be enough to simply return 404 for each request? Or even better simply use a Filter instead of a Servlet that always delegates to the chain?

Am 19.04.2015 14:16, schrieb John Preston:
Can anyone tell me if it is possible and how I might be able to tell a servlet app to undeploy itself. I'm using Jetty 9.2 and I have a few servlet apps that I use to initialise some stuff from within their init method. However once that is complete I don't really need to have the servlet around and I wanted to undeploy it.

John




Back to the top