You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by David Gagnon <dg...@accovia.com> on 2004/07/06 22:41:52 UTC

OT - How to add icon in browser url field

Hi 

Sorry for the OT topic :-).  I'm looking for a while now how you can add
icon that appears in the URL text field of a browser (example:
http://www.hicksdesign.co.uk/).  I heard it's something that I must do
server side.  Is there a way to have it works with Tomcat 4.x.


Thanks for your help

/David



---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org


Re: OT - How to add icon in browser url field

Posted by Matt Bathje <mp...@ntsource.com>.
David - this isn't really a struts question - but from what I know of the
favicon.ico icons:

They MUST be 16x16 pixels
The only work in IE after the page has been bookmarked
They only work in Mozilla versions greater than 1.3
(Don't know about other browsers)
For tomcat, you may need to add something like this:
  <mime-mapping>
    <extension>ico</extension>
    <mime-type>image/x-icon</mime-type>
  </mime-mapping>

to your web.xml file for it to work.


Matt Bathje


----- Original Message ----- 
From: "David Gagnon" <dg...@accovia.com>
To: "'Struts Users Mailing List'" <us...@struts.apache.org>
Sent: Wednesday, July 07, 2004 8:33 AM
Subject: RE : OT - How to add icon in browser url field


> I'm using WebSphere here at work.  I tried putting favicon.ico in the root
> directory of my .war file and it didn't work.  Is understand how I can
make
> it work on a web server like apache but what about Tomcat?  The best for
me
> will be to have a different favicon.ico per web application (i.e.: .war
> file).  Is that possible?
>
> Thanks for your help guys !! :-)
>
> /David
>
>
> -----Message d'origine-----
> De : Lucas Gonzalez Pearson [mailto:lucas.gonzalez@convergia.com.ar]
> Envoyé : July 6, 2004 16:49
> À : Struts Users Mailing List
> Objet : Re: OT - How to add icon in browser url field
>
> David,
>     you must place a favicon.ico file in the root dir of your webserver
>
> Lucas
>
>
>
> ----- Original Message ----- 
> From: "David Gagnon" <dg...@accovia.com>
> To: "'Struts Users Mailing List'" <us...@struts.apache.org>
> Sent: Tuesday, July 06, 2004 5:41 PM
> Subject: OT - How to add icon in browser url field
>
>
> > Hi
> >
> > Sorry for the OT topic :-).  I'm looking for a while now how you can add
> > icon that appears in the URL text field of a browser (example:
> > http://www.hicksdesign.co.uk/).  I heard it's something that I must do
> > server side.  Is there a way to have it works with Tomcat 4.x.
> >
> >
> > Thanks for your help
> >
> > /David
> >
> >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
> > For additional commands, e-mail: user-help@struts.apache.org
> >
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
> For additional commands, e-mail: user-help@struts.apache.org
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
> For additional commands, e-mail: user-help@struts.apache.org
>
>


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org


RE : OT - How to add icon in browser url field

Posted by David Gagnon <dg...@accovia.com>.
I'm using WebSphere here at work.  I tried putting favicon.ico in the root
directory of my .war file and it didn't work.  Is understand how I can make
it work on a web server like apache but what about Tomcat?  The best for me
will be to have a different favicon.ico per web application (i.e.: .war
file).  Is that possible?

Thanks for your help guys !! :-)

/David


-----Message d'origine-----
De : Lucas Gonzalez Pearson [mailto:lucas.gonzalez@convergia.com.ar] 
Envoyé : July 6, 2004 16:49
À : Struts Users Mailing List
Objet : Re: OT - How to add icon in browser url field

David,
    you must place a favicon.ico file in the root dir of your webserver

Lucas



----- Original Message ----- 
From: "David Gagnon" <dg...@accovia.com>
To: "'Struts Users Mailing List'" <us...@struts.apache.org>
Sent: Tuesday, July 06, 2004 5:41 PM
Subject: OT - How to add icon in browser url field


> Hi 
> 
> Sorry for the OT topic :-).  I'm looking for a while now how you can add
> icon that appears in the URL text field of a browser (example:
> http://www.hicksdesign.co.uk/).  I heard it's something that I must do
> server side.  Is there a way to have it works with Tomcat 4.x.
> 
> 
> Thanks for your help
> 
> /David
> 
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
> For additional commands, e-mail: user-help@struts.apache.org
> 

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org


Re: OT - How to add icon in browser url field

Posted by Lucas Gonzalez Pearson <lu...@convergia.com.ar>.
David,
    you must place a favicon.ico file in the root dir of your webserver

Lucas



----- Original Message ----- 
From: "David Gagnon" <dg...@accovia.com>
To: "'Struts Users Mailing List'" <us...@struts.apache.org>
Sent: Tuesday, July 06, 2004 5:41 PM
Subject: OT - How to add icon in browser url field


> Hi 
> 
> Sorry for the OT topic :-).  I'm looking for a while now how you can add
> icon that appears in the URL text field of a browser (example:
> http://www.hicksdesign.co.uk/).  I heard it's something that I must do
> server side.  Is there a way to have it works with Tomcat 4.x.
> 
> 
> Thanks for your help
> 
> /David
> 
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
> For additional commands, e-mail: user-help@struts.apache.org
> 

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org