| Author |
Replacing the Tomcat favicon
|
Roger F. Gay
Ranch Hand
Joined: Feb 16, 2007
Posts: 348
|
|
|
Not working for me. I've tried replacing the favicon.ico in ROOT and even put a link in the index.htm page there. IN addition, I've deleted all the other Tomcat images in ROOT. When I copy my favicon into that directory, Windows shows it as the Tomcat icon instead of mine (in explorer, pictures mode). When I click on it to display (Windows image viewer), it confirms that it's my icon. When I display the website, it shows the Tomcat icon on the tab.
|
Correlation does not prove causality.
|
 |
Tim Holloway
Saloon Keeper
Joined: Jun 25, 2001
Posts: 14491
|
|
This is probably just part of the suffering you are going through by attempting to supplant the default root application. There is no "Tomcat" favicon. Each webapp deployed in Tomcat can have its own favicon.ico, which should be located in the root of the deployed WAR (for the default context "/", that's TOMCAT_HOME/webapps/ROOT).
Incidentally, I'm not a big fan of replacing the default webapp. Since you cannot securely run Tomcat without a proxy in front of it (such as Apache HTTPD), and since such proxies can take a virtualhost and transparently re-route its requests to any context and port they want, I deploy my webapps as non-default apps.
|
Customer surveys are for companies who didn't pay proper attention to begin with.
|
 |
Roger F. Gay
Ranch Hand
Joined: Feb 16, 2007
Posts: 348
|
|
Tim Holloway wrote:This is probably just part of the suffering you are going through by attempting to supplant the default root application. There is no "Tomcat" favicon. Each webapp deployed in Tomcat can have its own favicon.ico, which should be located in the root of the deployed WAR (for the default context "/", that's TOMCAT_HOME/webapps/ROOT).
Incidentally, I'm not a big fan of replacing the default webapp. Since you cannot securely run Tomcat without a proxy in front of it (such as Apache HTTPD), and since such proxies can take a virtualhost and transparently re-route its requests to any context and port they want, I deploy my webapps as non-default apps.
Perhaps someday, I'll know what all that means. But I do know that there is a Tomcat flavicon. If you install Tomcat and simply pull up the installed ROOT, you'll see it. It's that little lion or tiger kind of thing ... ok, maybe it's supposed to be a tomcat.
|
 |
Tim Holloway
Saloon Keeper
Joined: Jun 25, 2001
Posts: 14491
|
|
Roger F. Gay wrote:
Perhaps someday, I'll know what all that means. But I do know that there is a Tomcat flavicon. If you install Tomcat and simply pull up the installed ROOT, you'll see it. It's that little lion or tiger kind of thing ... ok, maybe it's supposed to be a tomcat.
It's a Tomcat. But that's not the Tomcat server's favicon, it's the favicon of the ROOT webapp.
|
 |
Roger F. Gay
Ranch Hand
Joined: Feb 16, 2007
Posts: 348
|
|
Tim Holloway wrote:
Roger F. Gay wrote:
Perhaps someday, I'll know what all that means. But I do know that there is a Tomcat flavicon. If you install Tomcat and simply pull up the installed ROOT, you'll see it. It's that little lion or tiger kind of thing ... ok, maybe it's supposed to be a tomcat.
It's a Tomcat. But that's not the Tomcat server's favicon, it's the favicon of the ROOT webapp.
Yep. I finally figured that out. Just set up an app under ROOT for the first time.
I had struggled earlier with getting an app under development to use its flavicon ... and it was just in a webapps subdirectory of its own.
|
 |
 |
|
|
subject: Replacing the Tomcat favicon
|
|
|