My midlet connects to a
servlet using HttpConnection. It works fine on all phones that I've tested on, except Sony Ericsson T610.
The midlet correctly reports the content-length (which is always > 300), but my code...
prints out that 'actual' is exactly 100 every time, and no exception is caught.
So can anyone help me as to why only 100 bytes might be read, rather than the full 300+.
I've tried not setting the content-length header in the servlet (so my midlet reads one byte at a time, but I get exactly the same result.
Any help or workaround suggestions would be really appreciated.
Thanks,
James