| Author |
favicon icon configuration in tomcat 6
|
albin nacosta
Greenhorn
Joined: Aug 03, 2010
Posts: 3
|
|
hello all,
i have following scenario.
we have web-apps folder in tomcat server.where the applications are deployed.
lets say there is 3 different application deployed.
now i want all three application to display my custom favicon icon image.
how can i do that.
is there any way that we can configure in tomcat's web.xml file.
that Applcation1 will show sum faviconicon and appllication2 shows other favicon icon as per provided link.
Thanks in advance....!!!
|
 |
Bear Bibeault
Author and ninkuma
Marshal
Joined: Jan 10, 2002
Posts: 56152
|
|
|
"favivon" has nothing to do with Tomcat. You need to put the correct markup in your HTML files.
|
[Smart Questions] [JSP FAQ] [Books by Bear] [Bear's FrontMan] [About Bear]
|
 |
Rene Larsen
Ranch Hand
Joined: Oct 12, 2001
Posts: 1179
|
|
And you need to define two different link tags in the header - one for IE and one for the other ones.
|
Regards, Rene Larsen
Dropbox Invite
|
 |
albin nacosta
Greenhorn
Joined: Aug 03, 2010
Posts: 3
|
|
hi
my problem is that i am using FOP object to show pdf in new window using servlet.
i am using xslt and xml file to generate pdf file. and servlet is generating response using FOP object.
as the following code
FopFactory fopFactory = FopFactory.newInstance();
fopFactory.setStrictValidation(false);
.
.
.
transformer.transform(src, res);
and the servlet response shows pdf in new window with tomcat favicon icon.
now the problem is that the response is in pdf so there wont be any <head></head> section. or html tags like <link>....
so what i was thinking that may be i can configure that icon from tomcat.
so what so ever page opens it shows my custom icon.
please suggest some solution.
Thanks in advance.
|
 |
 |
I agree. Here's the link: jrebel
|
|
subject: favicon icon configuration in tomcat 6
|
|
|