aspose file tools*
The moose likes HTML, CSS and JavaScript and the fly likes Helpm with favicon.ico Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript forum!
JavaRanch » Java Forums » Engineering » HTML, CSS and JavaScript
Bookmark "Helpm with favicon.ico" Watch "Helpm with favicon.ico" New topic
Author

Helpm with favicon.ico

Timothy Sam
Ranch Hand

Joined: Sep 18, 2005
Posts: 746
Hi, I had no problem making my favicon work with


<link rel="shortcut icon" href="images/favicon/gmfavicon.ico" type="image/x-icon" />

It works with firefox but doesn't work in IE. I tried putting the icon in my web app's root directory along with my index.jsp. Still didn't work... I also tried renaming it to "favicon.ico" but still didn't work... Can you guys give me a clue please? Thanks you!


SCJP 1.5
http://devpinoy.org/blogs/lamia/ - http://everypesocounts.com/
Christophe Verré
Sheriff

Joined: Nov 24, 2005
Posts: 14687
    
  16

Did you call <link rel="icon"> too ?

See the guidelines here:
http://en.wikipedia.org/wiki/Favicon


[My Blog]
All roads lead to JavaRanch
Timothy Sam
Ranch Hand

Joined: Sep 18, 2005
Posts: 746
I just did it now... Nothing changed though... But thanks! Anyway... I was wondering if what I did is ok. What I did was change the .gif image to .ico. I edited the image using photoshop.
Christophe Verré
Sheriff

Joined: Nov 24, 2005
Posts: 14687
    
  16

The format of the ICO file might not be supported.
How did you save it ?
Timothy Sam
Ranch Hand

Joined: Sep 18, 2005
Posts: 746
I saved it first as a .gif format. Then I renamed it to .ico(through windows explorer shell, by changing its extension name).
Christophe Verré
Sheriff

Joined: Nov 24, 2005
Posts: 14687
    
  16

Oh. You have to convert it to an ico file, with a tool.
There are a few in the page I have posted above.
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 61064
    
  66

This has nothing to do with JSP. Please take the time to identify the apprpriate forum for your questions.


[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
Eric Pascarello
author
Rancher

Joined: Nov 08, 2001
Posts: 15376
    
    6
In order for IE to show it, the site has to be in your favorites.

Eric
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Helpm with favicon.ico