attempting to access using apache HttpClient but keep getting 403. Can anybody help? Been fiddling with this particular piece like a beginning point:

DefaultHttpClient httpClient = new DefaultHttpClient();
HttpRequestBase method = new HttpGet(theUrl);
String s = httpClient.execute(method, new BasicResponseHandler());    

I do not think this relates to HttpClient. I attempted this

$ wget
--2011-08-08 23:17:52--
Resolving (, 213.2
Connecting to (||:80..
. connected.
HTTP request sent, awaiting response... 403 Forbidden
2011-08-08 23:17:56 ERROR 403: Forbidden.

without any luck.

Yet I'm able to hit it within the browser. It may be that there's some server logic coming back 403s when a suitable browser headers aren't sent. My next thing is always to use FireBug and then try to replicate the request as the browser causes it to be.

Also, try catching the exceptino

  } catch (HttpResponseException e) {