Possible Duplicate:
How to use java.net.URLConnection to fire and handle HTTP requests?
I have to send an http post message to a server. This message must have an header and a body and to send it i must use a Stream.
Both the header and the body must be an array of Byte.
How can I do this?
Thank you