Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[jetty-users] web.xml and jsr 356 end points

Hello all,

 

I can get the jsr356 working by manually adding the endpoints to the servletContainer as

wscontainer = WebSocketServerContainerInitializer.configureContext(context); WebSocketServerContainerInitializer.configureContext(context);

wscontainer.addEndpoint(MySocket.class);

 

However, I already have a jetty project that uses jetty.xml and web.xml for all other servlets, so I am trying to figure out how to add the end points via web.xml

Any help is greatly appreciated.

Regards

Anu


Back to the top