This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
The moose likes HTML, CSS and JavaScript and the fly likes favicon Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Engineering » HTML, CSS and JavaScript
Bookmark "favicon" Watch "favicon" New topic
Author

favicon

kamlesh tayade
Ranch Hand

Joined: Sep 21, 2005
Posts: 34
I want to add favicon in URL

What necessary steps I have to take


Kamlesh
Be oN edGE SCJP 1.4, on edGE for SCWCD 1.4
Timothy Sam
Ranch Hand

Joined: Sep 18, 2005
Posts: 746
Not a servlet related question, moving to the HTML and Javascript forum. JUST KIDDING! XP

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...


SCJP 1.5
http://devpinoy.org/blogs/lamia/ - http://everypesocounts.com/
Eric Pascarello
author
Rancher

Joined: Nov 08, 2001
Posts: 15376
    
    6
IE has to be in your bookmarks

Eric
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: favicon
 
Similar Threads
how to get favicon
Favicon creation
favicon
Favicon implementation
Title Icon or Favicon?