Re: Keep Alive Serverconnection

2013-11-19 Thread Morten Bo Oelbye
Serverconnection -BEGIN PGP SIGNED MESSAGE- Hash: SHA256 David, On 10/30/13, 9:29 AM, David kerber wrote: On 10/30/2013 9:12 AM, Morten Bo Oelbye wrote: Where can I find any solution about an persistent Connection. I can use the reques.inputstream as long as want. But when I use

Keep Alive Serverconnection

2013-10-30 Thread Morten Bo Oelbye
Where can I find any solution about an persistent Connection. I can use the reques.inputstream as long as want. But when I use the response as an outputstream, the connectien is closed. So, how to write ping, pong, ping, pong, etc without closing? An keep-Alive does not do it. Please help

Tomcat ping pong

2013-10-29 Thread Morten Bo Oelbye
Where can I find any solution about an persistent solution. I can use the reques.inputstream as long as want. But when I use the response as an outputstream, the connectien is closed. So, how to write ping, pong, ping, pong, etc without closing? An keep-Alive does not do it.

HttpServlet

2013-08-30 Thread Morten Bo Oelbye
I am using Tomcat as a server. I am only able to either receive data or send data. The problem is that I am not able to use handchaking. If I try use send, I get the error: java.io.IOException: Connection closed not able to receive any longer What to do?

Re: HttpServlet

2013-08-30 Thread Morten Bo Oelbye
Well, it is very simple from my point of wiev. The Tomcat act in the same way in 6 and 7 in window xp I have not done any editing in the Tomcat, other than those nessisary to do a Tomcat connection using Apace in front with mod_jk. The design use a Midlet url http connection to access my Tomcat,