Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to change the logo displayed in the title bar of browser for a web application deployed in tomcat?

I have a web application deployed in tomcat. When I open the application in a browser, the image before the URL in the address bar and the image before the title of the application on the tab both show the tomcat image. I want to change this and put in my own logo in both the places. How can I do that?

like image 398
user811433 Avatar asked Nov 11 '11 09:11

user811433


1 Answers

This image is called the favicon.ico and is found in your tomcat installation under

$tomcat-home\webapps\ROOT

Just replace it with your own icon image saved as favicon.ico

In code try

<head>
<link rel="shortcut icon" href="http://www.yoursite.com/favicon.ico"> 
</head>
like image 122
JoseK Avatar answered Sep 28 '22 02:09

JoseK