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.

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.

-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]

Reply via email to