Hi, On Thu, Jan 12, 2012 at 02:54, Seonhong Ahn <[email protected]> wrote: > Hi.. > > According to jetty Web application architecture, > > ServletHandler is located in the lastest.. > > So, I tried to adapt DefaultHandler to WebSocketHandler... but it didn't > work.. > > I don't know why...
You cannot use a ServletContextListener, which is an entity that is attached to a Server, to start and stop the server itself. > Is really there no way except Servlet for WebSocket..? That's the simplest way. You build a standard web application, you create your WebSocketServlet subclass, map it in web.xml, and you're done. I'd recommend to start with that. Simon -- http://cometd.org http://intalio.com http://bordet.blogspot.com ---- Finally, no matter how good the architecture and design are, to deliver bug-free software with optimal performance and reliability, the implementation technique must be flawless. Victoria Livschitz _______________________________________________ jetty-users mailing list [email protected] https://dev.eclipse.org/mailman/listinfo/jetty-users
