File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Win a copy of
Head First Android
this week in the
Joined: Sep 21, 2005
Aug 08, 2006 06:47:00
I want to add favicon in URL
What necessary steps I have to take
Be oN edGE SCJP 1.4, on edGE for SCWCD 1.4
Joined: Sep 18, 2005
Aug 08, 2006 07:02:00
Well, if you want to have a favicon, you could either make an icon named favicon.ico in the root context of your application or...
put something like this in your page if you want to point to a relative path to your icon
<link rel="icon" href="images/favicon/gmfavicon.ico" type="image/x-icon">
<link rel="shortcut icon" href="images/favicon/gmfavicon.ico" type="image/x-icon">
It only works for firefox for me though... I dunno why it doesn't work with IE... Javaranch's favicon does work with IE...
Joined: Nov 08, 2001
Aug 08, 2006 07:58:00
IE has to be in your bookmarks
I agree. Here's the link:
Title Icon or Favicon?
how to get favicon
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2015