Hi,I have tried the following code to get the page content but,it results in
Session Expired.I want to know the solution
for this problem.

  HttpGet httpGet = new
HttpGet("http://us.vwr.com/store/search/searchResultList.jsp?_DARGS=/store/search/includes/categorySearchResultGrid.jsp.1_AF&_dynSessConf=8835674528907442989&sfh_showProducts=submit&catName=Batteries&_D%3Asfh_showProducts=+&catId=542671%2C";);
   HttpClient httpclient = new DefaultHttpClient();
   HttpResponse response = httpclient.execute(httpGet);
   HttpEntity entity =response.getEntity(); 
   String thirdPartyPageContent=EntityUtils.toString(entity);
   System.out.println(thirdPartyPageContent);



--
View this message in context: 
http://httpcomponents.10934.n7.nabble.com/How-to-handle-session-using-Httpclient-or-FirefoxDriver-using-Java-tp25842.html
Sent from the HttpClient-User mailing list archive at Nabble.com.

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to