• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

How can I export the contacts from Hotmail using Apache HttpClient?

 
wind hong
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi everybody
I have a project which need to import the contacts from Hotmail,AOL,Gmail and Yahoo.
I have finished exporting from Gmail and Yahoo by using Apache Commons HttpClient.
but I could not login Hotmail because when I get the Hotmail Login page it show me a non-javascript-supported page.
Without the javascript Hotmail will not allow me to login.
Can I simulate a javascript supported client by Httpclient or is there any other ways to do so ?
please give me any suggest.
best regards.
 
Ulf Dittmer
Rancher
Posts: 42968
73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Instead of HttpClient, you could use HttpUnit (on SourceForge) which supports JavaScript by way of the Rhino engine. Don't be put off by the fact that it's billed as a web testing tool - it works just fine for programmatic web page access.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic