I\'m implementing a long poll http connection using java servlet.
How can I know that the http client is still active at any instance? Currently, what I do is to wri
It will be difficult to achieve that using Servlet APIs. Though the low level Socket APIs provide this functionality (Socket.isConnected() ), but same functionality is not available through any higher level APIs. Not sure if you any compulsions of using Servlet APIs or you can use low level socket APIs.