You could map a servlet to /favicon.ico that serves different icons based on a cookie value that is set per context (with a custom Valve if you like) :oP






----Original Message Follows---- From: Mufaddal Khumri <[EMAIL PROTECTED]> Reply-To: "Tomcat Users List" <[EMAIL PROTECTED]> To: "Tomcat Users List" <[EMAIL PROTECTED]> Subject: favicon question Date: Fri, 9 Jul 2004 13:12:30 -0700

I have a webapp deployed under tomcat + apache.

I have a taglib in which i have the following:

out.print("<link rel='shortcut icon' href='/mywebapp/images/favicon.ico' type='image/x-icon'>");

The favicon.ico is a 16 * 16 icon file.

The favicon shows up in Safari on the Mac , but not on netscape, or IE . On windows it does not show up in either IE or Netscape.

I have not put the favicon in the webservers root from where it can get it by default. As you can see I have it in mywebapp/images folder.

Does anybody know why this does not work? Or do browsers dont have support for this much ?

Regards.


--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

_________________________________________________________________
FREE pop-up blocking with the new MSN Toolbar – get it now! http://toolbar.msn.click-url.com/go/onm00200415ave/direct/01/



--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to