• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

favicon icon configuration in tomcat 6

 
albin nacosta
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Pie
Posts: 64622
86
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
"favivon" has nothing to do with Tomcat. You need to put the correct markup in your HTML files.
 
Rene Larsen
Ranch Hand
Posts: 1179
Eclipse IDE Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
And you need to define two different link tags in the header - one for IE and one for the other ones.


 
albin nacosta
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic