cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Nicola Ken Barozzi <>
Subject Re: [C2.1] How to get a favicon.ico in the browser.
Date Tue, 10 Sep 2002 14:01:29 GMT

Antonio Gallardo Rivera wrote:
> I am trying to set the icon of the site with cocoon. My problem is I dont know 
> what mime-type to set in the sitemap.xmap
> <map:match pattern="images/*.ico">
> 	<map:read mime-type="image/bmp" src="resources/images/{1}.ico"/>
>  </map:match>
> The "favicon.ico" is in the directory: "/resources/images" and set in the 
> stylesheet with the hardcoded string:
> <head>
> 	<link rel="shortcut icon" href="images/favicon.ico"/>
> </head>
> But the browser dont get it.
> Please help me.
> BTW, I am using: Tomcat 4.1.10, Cocoon 2.1 (last CVS) and J2SDK 1.4.1
> Many thanks in advance ;)

Latest Cocoon in CVS has a favicon that shows in my browser.
If it does in your too, then you already have a live example.
If not, look at the Microsoft website or search in Google for 
favicon.ico, there are really many examples avaliable.

Hope it helps.

Nicola Ken Barozzi         
             - verba volant, scripta manent -
    (discussions get forgotten, just code remains)

Please check that your question  has not already been answered in the
FAQ before posting.     <>

To unsubscribe, e-mail:     <>
For additional commands, e-mail:   <>

View raw message