Stefan,

The web.xml file is completely defined as part of the Servlet 2.2
Specification, when it defines Web Applications. Go there for the official
reference.


On Tue, 27 Feb 2001, Stefán F. Stefánsson wrote:

> Hello.
>
> I was wondering if anyone knows if the <icon> element in web.xml is not
> working in Tomcat (it's not working for me... just wondering if it's not
> supported or if it's something specific with me).

??? report a reproducable bug please, and someone should handle it.
don't forget the icon file has to be relative to the webapp root.


> Another thing (a little more important) is the <welcome-file-list>
> element.  I have one such in my web.xml and it contains one
> <welcome-file> element.  This is directly from it:
>
> <welcome-file-list>
>
> <welcome-file>/servlet/com.decode.ips.webservice.controller.IPSControlle
> rServlet</welcome-file>
> </welcome-file-list>

Again, the tag says, welcome-file, you define a file to map to, if it is
present.  There is no servlet/... file present.  One trick is to map it to
<welcome-file>index.servlet</welcome-file>

then do a <servlet-mapping> mapping index.servlet to your
JSPControllerServlet.  And for further assurance, you can create an
index.servlet file, to encourage it, but really it should map to the
servlet eventually.


fern


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

Reply via email to