| Author |
Icon
|
Chen Yanush
Greenhorn
Joined: Oct 31, 2004
Posts: 26
|
|
Hi, How can I add an icon to my web application ? Thanks
|
 |
Bear Bibeault
Author and ninkuma
Marshal
Joined: Jan 10, 2002
Posts: 56204
|
|
"rcy", There aren't may rules that you need to worry about here on the Ranch, but one that we take very seriously regards the use of proper names. Please take a look at the JavaRanch Naming Policy and adjust your display name to match it. In particular, your display name must be a first and a last name separated by a space character, and must not be obviously fictitious. Thanks! bear Forum Bartender
|
[Smart Questions] [JSP FAQ] [Books by Bear] [Bear's FrontMan] [About Bear]
|
 |
Chen Yanush
Greenhorn
Joined: Oct 31, 2004
Posts: 26
|
|
|
Ok
|
 |
Ben Souther
Sheriff
Joined: Dec 11, 2004
Posts: 13410
|
|
The browser will look for a resource named "favicon.ico" in the root directory of your server. Example: GET /favicon.ico HTTP/1.1 The problem is that the browser will prepend the forward slash. This means that the icon needs to be the root of the default application on your server to work.
|
Java API J2EE API Servlet Spec JSP Spec How to ask a question... Simple Servlet Examples jsonf
|
 |
Bear Bibeault
Author and ninkuma
Marshal
Joined: Jan 10, 2002
Posts: 56204
|
|
|
Moved to the HTML forum.
|
 |
 |
|
|
subject: Icon
|
|
|