Home

Add a comment

 

Re: Non-blocking (NIO) Server Push and Servlet 3

It works very well but the problem starts because we can not modify or reset the OutputStream object contained by ServletResponse, so every time that I have a content to share it will be concatenated with the previous content. i.e the first time someone sends "hello", so we will post "hello" to all suscribers, then the same user posts "pablo" and we will publish "hellopablo". At this time we are interested in publish only "pablo" as a new content. Is there any way to do it? or just the server always will post all the content for this session?

Re: Non-blocking (NIO) Server Push and Servlet 3


Title
Body
HTML : b, strong, i, em, blockquote, br, p, pre, a href="", ul, ol, li, sub, sup
Name
E-mail address
Website
Remember me Yes  No 

E-mail addresses are not publicly displayed, so please only leave your e-mail address if you would like to be notified when new comments are added to this blog entry (you can opt-out later).