In automatic mode, the favicon of the site that the user has entered should be downloaded. For example, I introduce http://google.com/ . Next, extract from the head link to the shortcut icon . Further I connect the link of the user and the link to an icon. For google, it looks like this: http://google.com/images/branding/product/ico/googleg_lodp.ico .
But. There is no file in this path. Throws FileNotFoundException .
Tell me how to be?
I am writing in Java.
http://www.google.com/images/branding/product/ico/googleg_lodp.ico.... maybe you need to go through the option not onlysubdomain.domainbut alsowww.subdomain.domain- Alexey Shimanskywww- Tsyklop//with//www.- Tsyklop