This week's book giveaway is in the Testing forum.
We're giving away four copies of Practical Unit Testing with TestNG and Mockito and have Tomek Kaczanowski on-line!
See this thread for details.
The moose likes HTML, CSS and JavaScript and the fly likes showing icon at the url field Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


Win a copy of Practical Unit Testing with TestNG and Mockito this week in the Testing forum!
JavaRanch » Java Forums » Engineering » HTML, CSS and JavaScript
Reply Bookmark "showing icon at the url field" Watch "showing icon at the url field" New topic
Author

showing icon at the url field

Hussein Baghdadi
clojure forum advocate
Bartender

Joined: Nov 08, 2003
Posts: 3333

Hi all.
I want to display a small icon inside the url field when the user visit my application
(just like sites : java.sun.com, theserverside.com .....).
I have put the following inside my index.jsp page :
<head>
<LINK REL="SHORTCUT ICON" HREF="http://localhost:8080/context/favicon.ico">
</head>
put it doesn't work, then I write :
<LINK REL="SHORTCUT ICON" HREF="/favicon.ico">
also, it doesn't work.
what is the problem ??
Eric Pascarello
author
Rancher

Joined: Nov 08, 2001
Posts: 15003
The page has to be added to your favorites!
Hussein Baghdadi
clojure forum advocate
Bartender

Joined: Nov 08, 2003
Posts: 3333

But some times when visiting web sites like w3schools (using firefox), the icon is shown even I didn't add it to my bookmark...
thanks
 
 
subject: showing icon at the url field
 
Threads others viewed
favicon
Problem with favicon.ico
Helpm with favicon.ico
How to change logo of IE from address bar of explorer ??
how to get favicon
developer file tools