## Can Jetty reload servlets?

Jetty no longer supports automatic reloading of Servlets. With the current complexities of the servlet container, it is no longer feasible to reload without doing a complete passivation and reactivation of the context.

Note that a context (webapplication or HttpContext) may be stopped and restarted without restarting the whole server. The API, admin servlet or JMX interface can be used to stop and restart a context, which will force a reload of all servlets in that context.

It is also possible to have a second context mapped to the same context path. The second context can handle the requests while the main context is being restarted. This allows "e;Under Maintenance"e; style pages to be displayed during the restart.

If you run Jetty within JBoss, then it supports automatic redeployment of war, ear and sar files.

JettyFaq