Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[jetty-users] Adding/Removing a webapp to an embedded Jetty

I asked this on StackOverflow, but no one was around.

http://stackoverflow.com/questions/7909100/adding-removing-a-webapp-to-an-embedded-jetty

I have a Jetty embedded server started up.

I wish to be able to do a hot deploy of a webapp and be able to unload it again, all programmatically.

Once the server is started, any attempts to add a handler to it throws an error.

I tried using ContextHandlerCollection and then using .addContext() to get it up and running but not sure if that is the right way to go about it.

Can someone please point me in the right direction? thank you




Back to the top