hd84335 hd84335 - 2 years ago 156
Java Question

How to change glassfish application server default browser icon?

Can we set a default browser-tab icon for applications running under glassfish server?

Answer Source

Here is the solution:

Simply add the favicon.ico icon to the docroot folder of glassfish, and restart.

If it did not work, then, you have to define the 'ico' extension mime-type in your default-web.xml glassfish file, this is done by adding the following code on the file:
<mime-mapping> <extension>ico</extension> <mime-type>image/vnd.microsoft.icon</mime-type> </mime-mapping>

Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download