
To disable it very simple .. just remove this favicon.ico file BUT remember to delete the cache on your browser and restart the tomcat before try... Ha !
If you want to change the favicon.ico in diff page or diff web app below are some info which might help yours .. cheers
The Favourites Icon has a file type of image/x-icon. This is not defined by default in the Tomcat configuration.
Add the following mime-mapping element to web.xml sets the correct mime-type, allowing the browser to interpret the file correctly.
<!-- Set Favourites Icon MIME-Type -->
<mime-mapping>
<extension>ico</extension>
<mime-type>image/x-icon</mime-type>
</mime-mapping>
On modern browsers, a newer method for adding a favourites icon has been added. This method now takes preference over the default favicon.ico file. Therefore, for best results on your web pages, include the following line in your HTML as well. For compatibility with older browsers however, we recommend using the favicon.ico method.
<link rel="icon" type="image/ico" href="/favicon.ico"/>
- Using a link in this way also allows different icons for different pages of your site
- You can also use a PNG image by using image/png above instead of image/ico.
- href can point to any valid image location, as long as the image is the correct type (ico if you specified image/ico, png if you specified image/png etc..) and size (16x16 or 32x32)

No comments:
Post a Comment