Stefán F. Stefánsson wrote:

> Ok... thanks (regarding the <icon>).
>
> The correct reaction from tomcat... hmmm... not sure I know what you
> mean here... are you talking in regards to the <icon> or the welcome
> file list?
>
> I'll just answer it in two parts,
>
> 1) The icon should be displayed for example in the title bar when the
> webapp is active in some browser.  I've seen this somewhere on the
> javasoft site.  Then I got that cute little penguin/triangle thing with
> the hands and all...  I admit that this is not exactly on the top of my
> priority list but more done out of curiosity.
>

That happens because the page developer included <img> tags in the pages
themselves -- it has nothing to do with the <icon> element in web.xml, which
is there for GUI based deployment tools (which Tomcat does not have).

>
> 2) With regards to the welcome files I want users to be able to go to
> the URL http://some.host.somewhere/ and not to the URL
> http://some.host.somewhere/servlet/com.decode.ips.webservice.controller.
> IPSControllerServlet.  I think the reason for why I want that is pretty
> obvious.

The 2.2 spec is not clear that this is supposed to work (although I agree
with you that it should).  If Tomcat 3.x does not do this, you could submit
a feature request to make it so.

The 2.3 spec will make it mandatory that servlet URIs can be used in
<welcome-file-list>, and Tomcat 4.0 does this correctly.


>  The only way I can get that is to create an index.htm file
> that has this tag in the head section:
>   <META HTTP-EQUIV=REFRESH CONTENT="0;
> URL=/servlet/com.decode.ips.webservice.controller.IPSControllerServlet">
>
> But I would much rather that the server handled that and I could skip
> the stupid index.htm file.  At all costs I do not want the user to get
> the directory listing!
>
> Thanks for your time,
>         Stefan.
>

Craig



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]

Reply via email to