10
Contributors
10
Replies
39
Views
6 Years
Discussion Span
Last Post by Texx
0

Insert a graphic file named favicon.ico (.ico can't just be named that needs to be an actual .ico file) into the sites root folder. ;)

0
<link rel="icon" href="{contextPath}/favicon.ico" type="image/x-icon" />

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

Hi,
Inspite of doing the above i could not able to view the image in the title tag and address bar. I have created a .ico file and tried even that is not working.Please let me know where iam going wrong?

0

@participantjava

The thread is solve. Can you open a new thread.

Edited by LastMitch: grammer

0

this is just a copy paste answers, if my icon file is imagex.jpg or imagex.ico then how do i insert it into the title bar, if anyone has genuine answers please provide it.....

0

You could also upload a the image directly to the root folder and name it favicon.ico The browser then automatically use it as your title image.
(The image has to be of .ico format)

0

A common mistake is the file is actually a png or a jhpg that has just been renamed to a .ico. This won't do. It has to actually be an ico file. If this is the problem the fix is easy just google for an online ico generator, they'll ask you to upload the image, turn it into an ico file and guide you from there.

This question has already been answered. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.