• Post Reply Bookmark Topic Watch Topic
  • New Topic

URL content not accessible

 
Anonymous
Ranch Hand
Posts: 18944
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Problem solved. Found solution at:http://www.coderanch.com/t/207007/sockets/java/cannot-response
Hello.

I have written application that is going to retrieve the data on a specific web page.

If I use the following code

the following is written to System.out:
Sorry, handhistory unavailable. Try again later

If I on the other hand paste the exact same URL into my browser, the page I'm really interested in is displayed.

I have tried this at different times with the same result, so I'm beginning to believe that the server is detecting that the request isn't send from a "well known" browser.

Any ideas on how I can solve this?

[ May 14, 2006: Message edited by: J�rgen Persson ]
[ May 14, 2006: Message edited by: J�rgen Persson ]
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!