Resume Research Programming Best Practices
  Özgür Yılmazel's Homepage  
 

Java Programming:

Make your java http client behave as a browser:
Web servers look for the User Agent header information in the request headers.If you like your java application to be seen as a specific browser by the web server you need to set the correct User Agent header information.
IE: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET CLR 1.0.3705; .NET CLR 1.1.4322)
FireFox: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.10) Gecko/20050716 Firefox/1.0.6