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:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

How to change icon of Tomcat

 
Ranch Hand
Posts: 95
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Report post to moderator
Dear all,

Almost every tomcat user has met the the icon(a cat) in the address line when using Tomcat server.

Could anyone let me kown how to change it? I want to use another icon.

Thanks a lot.
 
Rancher
Posts: 43081
77
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Report post to moderator
The file in question is webapps/ROOT/favicon.ico. You need to create a new image and save it on ICO format. One image processor that knows ICO is ImageJ with the help of its JIMI plugin.
 
Joshua Cloch
Ranch Hand
Posts: 95
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Report post to moderator
Many thanks.
 
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Report post to moderator
hi,

we can do that by replacing the icon image.

but i have different scenario.
in tomcat we have webapps where all application is deployed.lets say there is 2 application deployed.
now i want to configure different favicon icon for both of the project then what to do?

say
http://localhost:8080/testProject1/index.jsp
http://localhost:8080/testProject2/login.jsp

both url should show different favicon icon image.

please consider that i dont want to give that tag <link link rel="shortcut icon" ....> in my jsp page.


Thanks in advance.

 
Sheriff
Posts: 67746
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:
  • Report post to moderator
Please do not post the same question more than once.
 
Consider Paul's rocket mass heater.
    Bookmark Topic Watch Topic
  • New Topic