You are viewing a plain text version of this content. The canonical link for it is here.
Posted to httpclient-users@hc.apache.org by gdrsantosh <gd...@gmail.com> on 2014/10/22 15:37:51 UTC

Need to get table data using httpclient

Hi,
I'm using following code to get pagecontent. But unfortunately i'm not able
to get data which is within the table.

HttpGet httget = new
HttpGet("http://pstweb.cloudapp.net/raselect/?tid=188J");
   HttpClient httpclient = new DefaultHttpClient();
   HttpResponse  response = httpclient.execute(httget);
   HttpEntity entity = response.getEntity(); 
   String thirdPartyPageContent=EntityUtils.toString(entity);
but if you enter the url directly in browser I get all the data in table. My
understanding is to make ajax call it takes some time. But our httpclient is
not waiting for the same. 
please help me in getting the table page content.
Thanks



--
View this message in context: http://httpcomponents.10934.n7.nabble.com/Need-to-get-table-data-using-httpclient-tp24770.html
Sent from the HttpClient-User mailing list archive at Nabble.com.

---------------------------------------------------------------------
To unsubscribe, e-mail: httpclient-users-unsubscribe@hc.apache.org
For additional commands, e-mail: httpclient-users-help@hc.apache.org