1 Reply Latest reply on Aug 13, 2008 1:07 AM by Vitor de Souza Rodrigues

    favicon in Jboss

    Stephane PAQUET Newbie

      Hi all,

      I want to run different favicon on my Jboss AS (using 4.0.3.SP1).
      I want to keep the Jboss favicon for basic site and add custom ones for subsites.


      localhost:8080/ (to access admin tools) using jboss default favicon
      localhost:8080/Intranet using a different one.

      Basically, I added the favicon directly in the web root context of the Intranet war, but the favicon does not appear ... I still have the default jboss one.

      Is there something to addin the web.xml file ?


      PS, using

      <link rel="icon" href="<%=request.getContextPath()%>/favicon.ico" type="image/x-icon">
      <link rel="shortcut icon" href="<%=request.getContextPath()%>/favicon.ico" type="image/x-icon">

      works, but I do not like. I'm looking for a way to have a favicon displayed by putting it at the root the the context-root not in defining its path in all the pages...