File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes HTML, CSS and JavaScript and the fly likes how to get favicon Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Engineering » HTML, CSS and JavaScript
Bookmark "how to get favicon" Watch "how to get favicon" New topic

how to get favicon

pankaj semwal
Ranch Hand

Joined: Oct 07, 2008
Posts: 303
I put my icon file inside the root folder .
And in my welcom.jsp i am putting these lines

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

But i am not getting the favicon .Please help me where i am wrong.

Eric Pascarello

Joined: Nov 08, 2001
Posts: 15385
What browser are you having problems in?

I agree. Here's the link:
subject: how to get favicon
It's not a secret anymore!