Favicon.ico

Does anyone know how to add one of these to a .war file so that it shows up in a browser address bar?

I added one in the root of the .war, and it shows up in the browser address bar when I go to http://server/project/favicon.ico, but not when I go to http://server/project

Best solution would be a different one for each J2EE project, but a global one for the domain is OK too.

Can't find any info on JBoss, Sun or anywhere else. Anyone?

[463 byte] By [jparker12a] at [2007-11-26 18:12:16]
# 1

Ref: http://www.thesitewizard.com/archive/favicon.shtml

...f you have placed your favicon.ico file in a location other than the current web directory (relative to your web page) or the root directory, you have to help your visitors' browser locate the favicon file by specifying it with a tag like the following in the <head> section of your web page.

<link rel="shortcut icon" href="/favicon.ico" type="image/x-icon" /> ...

Does that help?

KarthikRa at 2007-7-9 5:45:03 > top of Java-index,Development Tools,Java Tools...