Hey !

I have a problem with an OutputStream. The problem occures only on my Emulator 
on Eclipse.
When i write with out.write(output.getBytes()); the Emulator appends several 
bytes, wich inform about the size in bytes of the data block.
My Mobilephone is not doing this, so can i shut it down on the emulator that i 
have to identical working clients ?

HttpConnection connection = (HttpConnection) Connector.open("http://"; + 
host.getIpAdress() + ":" + this.port  + "/" + this.requestMode);
connection.setRequestMethod(HttpConnection.POST);
connection.setRequestProperty("Content-Type", 
"application/x-www-form-urlencoded");
connection.setRequestProperty("charset", "UTF-8");
connection.setRequestProperty("Message-Length", ""+messageLength);

OutputStream out = connection.openOutputStream();

I am using the Java WirelessToolKit 2.5.2

thx !

-------------------------------------------------------------------------
SF.Net email is sponsored by: The Future of Linux Business White Paper
from Novell.  From the desktop to the data center, Linux is going
mainstream.  Let it simplify your IT future.
http://altfarm.mediaplex.com/ad/ck/8857-50307-18918-4
_______________________________________________
Eclipseme-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/eclipseme-users

Reply via email to