Oki, thanks.. It seems I've been doing it right with one of my methods, but I need to use an icon in size 16x16 and not 32x32...
BTJ On Tue, 2003-09-09 at 08:20, Ramesh Kannery wrote: > search for favicon in google, u may get the answer!! > > > -----Original Message----- > From: Bjørn T Johansen [mailto:[EMAIL PROTECTED] > Sent: Tuesday, September 09, 2003 11:43 AM > To: Struts Users Mailing List > Subject: Re: Icon? > > > On Mon, 2003-09-08 at 03:27, Max Cooper wrote: > > Two things come to mind: > > > > 1. Do you want an icon that will show up in a browser when a user accesses > > your application/site? If so, you need to do something else -- the <icon> > > part of the servlet spec seems to indicate that it is for GUI tools (like > > your app server's management console) rather than for browser access to the > > webapp itself. I am not totally sure about this as I have not tried it > > myself, but that is my impression from reading the servlet spec. > > Well, I want to change the icon that appear in front of the url in the > browser, I see other use it... > > > > 2. Is the <icon> element in the right place in the web.xml file? An editor > > that does XML validation (like IntelliJ IDEA and other IDEs and XML editors) > > is very helpful for pointing out such errors. > > I tried moving it around and the only thing that happens is that I am > getting an error msg if I am putting it under the servlet tag and under > the web tag nothing happens. > I also tried setting this in the header: > <link rel="shortcut icon" href="<html:rewrite forward="mainIcon"/>" > type="image/x-icon" /> > > but nothing... > > Anyone? > > > > > -Max > > > > ----- Original Message ----- > > From: "Bjørn T Johansen" <[EMAIL PROTECTED]> > > To: "Struts Users Mailing List" <[EMAIL PROTECTED]> > > Sent: Sunday, September 07, 2003 8:44 AM > > Subject: Icon? > > > > > > > I am trying to customize the icon my webapp is using by adding > > > > > > <icon> > > > <small-icon> > > > path-to-icon > > > </small-icon> > > > </icon> > > > > > > in my web.xml file, but nothing happens. What am I overlooking? > > > > > > > > > Regards, > > > > > > BTJ > > > > > > > > > > > --------------------------------------------------------------------- > > To unsubscribe, e-mail: [EMAIL PROTECTED] > > For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]