5 Replies Latest reply on Oct 1, 2008 8:22 AM by nimo22

    Favicon cannot be able to display

    kaviarasu
      Hi
      im trying to show my own favicon
      i added the particular line in the template.xhtml
      the favicon.ico is placed in the same folder.


      <link rel="shortcut icon" href="favicon.ico" type="image/x-icon" ></link>




      but still i can see only the jboss server favicon.
        • 1. Re: Favicon cannot be able to display
          wilczarz.wilczarz.gmail.com

          The href attribute should be a path relative to your war root direcotry, so you should probably create a folder named img, paste the favicon there and in your page use:


          <link rel="shortcut icon" href="/img/favicon.ico" type="image/x-icon" />



          • 2. Re: Favicon cannot be able to display
            kaviarasu

            I added the particular line in my template.xhtml


            <link rel="shortcut icon" href="/img/favicon.ico" type="image/x-icon" />
            


            template.xhtml located in layout folder


            and i place the favicon.ico in the img folder
            My project structure is



             
               
               
               
             
             
               
               
               
             
             
               
               
               
             
             
               
               
               
             
             
               
               
               
             
             
               
               
               
             
             
               
               
               
             
             
               
               
               
             
             
               
               
               
             
            si.ear
            si.war
            img
            stylesheet
            layout
            WEB-INF
            si.jar
            META-INF
            lib


            still i cant see my favicon.ico


            thanks and regards

            Kaviarasu

            • 3. Re: Favicon cannot be able to display
              nimo22

              Does anyone know, where the jboss-favicon is located?

              • 4. Re: Favicon cannot be able to display
                christian.bauer
                /jboss-4.2.3.GA$ find . -name "favicon*" 
                ./server/all/deploy/jboss-web.deployer/ROOT.war/favicon.ico
                ./server/default/deploy/jboss-web.deployer/ROOT.war/favicon.ico
                



                That was difficult!

                • 5. Re: Favicon cannot be able to display
                  nimo22

                  Hey Chris,


                  sorry, I have meant the jboss SEAM - Favicon, and not the JBOSS-Server-Favicon.


                  Do you know where it s located?