Win a copy of Head First Android this week in the Android forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Tim Cooke
  • Campbell Ritchie
  • Paul Clapham
  • Ron McLeod
  • Liutauras Vilda
Sheriffs:
  • Jeanne Boyarsky
  • Rob Spoor
  • Bear Bibeault
Saloon Keepers:
  • Jesse Silverman
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
Bartenders:
  • Piet Souris
  • Al Hobbs
  • salvin francis

favicon icon configuration in tomcat 6

 
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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....!!!
 
Sheriff
Posts: 67595
173
Mac Mac OS X IntelliJ IDE jQuery TypeScript Java iOS
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
"favivon" has nothing to do with Tomcat. You need to put the correct markup in your HTML files.
 
Ranch Hand
Posts: 1179
Mac OS X Eclipse IDE
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
 
You showed up just in time for the waffles! And this tiny ad:
Building a Better World in your Backyard by Paul Wheaton and Shawn Klassen-Koop
https://coderanch.com/wiki/718759/books/Building-World-Backyard-Paul-Wheaton
reply
    Bookmark Topic Watch Topic
  • New Topic