Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[jetty-users] Jetty8: Add listener after ServletContextHandler started

Hi,

i figured out, that jetty.ServletContextHandler.Context throws an exception if a listener is added after the context became started.

In my case i am using HttpService to register a servlet. But this servlet uses the ServletContext to add a listener to it and an exception becomes thrown.

Ist there a way to avoid that problem?


Thanks, Florian



Back to the top