[Htmlparser-user] a possible need feature
Brought to you by:
derrickoswald
From: Navid H.L. <na...@ya...> - 2002-12-23 19:44:56
|
Hi Somik, I had a problem accessing this site (www.teamstore.com) which was giving me HTTP error 501. I tried to access the site with Java's URLConnection class, and again I got same result, error 501! But once I used this setting (see line 3 below), I gained access to the site, an no more errors: 1-URL mysite = new URL("http://www.teamstore.com"); 2-URLConnection yc = mysite.openConnection(); 3-yc.setRequestProperty("User-Agent", "Mozilla/3.0 (Windows NT 4.0; U) Opera 6.0 [en]") ; I was wonder if it is possible to do the same, "setRequestProperty" with HTMLParser objects? I really appreciate it if you could let me know this. By the way, I wish you and all others involved in this project a Happy Xmas and New Year! With Best wishes Navid __________________________________________________ Do you Yahoo!? Yahoo! Mail Plus - Powerful. Affordable. Sign up now. http://mailplus.yahoo.com |