JETTY-1495 Ensure dynamic servlet addition does not cause servlets to be inited.
This commit is contained in:
parent
a6eda90594
commit
4b2d976f24
|
@ -1224,7 +1224,7 @@ public class ServletHandler extends ScopedHandler
|
|||
|
||||
try
|
||||
{
|
||||
if (isStarted())
|
||||
if (_contextHandler!=null && _contextHandler.isStarted() || _contextHandler==null && isStarted())
|
||||
initialize();
|
||||
}
|
||||
catch (Exception e)
|
||||
|
|
Loading…
Reference in New Issue