Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

favicon.ico in Java WAR file

Tags:

Can anybody provide some instruction on how to setup a war file to show a favicon.ico in the browser address bar?

like image 698
djsnowsill Avatar asked Dec 30 '08 01:12

djsnowsill


1 Answers

You can also use the following HTML markup in your HTML:

<link rel="icon" type="image/gif" href="/img/image.gif"> 

Most newer browsers should support it and I think it's generally a more clean way since you can use any image type/name/location you want.

like image 92
stian Avatar answered Oct 03 '22 12:10

stian