Very convenient classes for this task are also located in the org.apache.http package, especially org.apache.http.client.HttpClient. It works very fine in my applications...
try st. like this:
Code:
URI uri = new URI("http://your.server.com/yoursite.html");
HttpPost post = new HttpPost(uri);
HttpClient client = new DefaultHttpClient();
HttpResponse response = client.execute(post);
You can use also HttpGet instead of HttpPost.
hope this helps...
Greets
cybergen