hi ranchers !
I have a http communication between a midlet and servlet proxy.
1. I send a string from midlet to servlet with dos.writeUTF("I'm midlet") and the proxy receives the string with dis.readUTF()
2. then i write a string from servlet to midlet in the same way ...
3. from here all that's right !
the problem here is when i try to send another string from midlet to servlet, i don't know
the midlet throws the next exception:
"Uncaught exception java/lang/IllegalStateException: Write attempted after request finished."
anyone know why ?
In some projects i sent all messages in a DataOutputStream and then
i received all responses in a DataInputStream ...
but in this case a want to send, receive, send, receive ... and so on
anyone can help me ?
Thanks in advance
[ June 29, 2007: Message edited by: Carlos G�mez ]