jboss7.x - \Favicon.ico error in Jboss 7.1.1 -


i want access application without context root in jboss 7.1.1 have renamed application root.war , deployed , updated stadalone.xml able access login page of application, moment enter credentials , login "http status 404 - /favicon.ico".

i don't know going wrong. once remove /favicon url , reload it, works normal. please me resolve problem.

  1. favicon stands "favorites icon". it's little icon beside site's name in favorites list, before url in address bar , bookmarks folder , bookmarked website on desktop in operating systems.

  2. the favicon.ico shows 404 means people browsers use favicon (internet explorer 5.0 +, firefox, opera , others) visiting site.
    while seeing 404 in log files means visitor got dreaded "404 page not found" error, in case doesn't. all means default icon shown instead of custom one.

  3. to favicon show there 2 different ways this:

    1. this easiest , show icon no matter page visitor adds favorites. upload new icon main directory of site, ie. www.example.com/favicon.ico

    2. if don't have access root directory (if on free server example) or want different favicon pages, add <head> of html. (you can name favicon whatever you'd method)

      <link rel="shortcut icon" href="/folder-name/logo.ico"> 

      or if prefer use full url:

      <link rel="shortcut icon" href="http://example.com/favicon.ico"> 

note:
if upload new favicon, sure clear cache new icon show up.


Comments

Popular posts from this blog

angular - Is it possible to get native element for formControl? -

unity3d - Rotate an object to face an opposite direction -

javascript - Why jQuery Select box change event is now working? -