On Wed, 17 Jul 2002, Turner, John wrote:

> Date: Wed, 17 Jul 2002 12:11:08 -0400
> From: "Turner, John" <[EMAIL PROTECTED]>
> Reply-To: Tomcat Users List <[EMAIL PROTECTED]>
> To: "'[EMAIL PROTECTED]'" <[EMAIL PROTECTED]>
> Subject: web.xml DTD and welcome files
>
>
> Hi -
>
> I just tried adding a welcome-file element to my web.xml, but I am getting
> an error message from the IDE (I am using Sun's Forte) that says "element
> web-app does not allow "welcome-file-list" here".
>
> The DTD I have is http://java.sun.com/dtd/web-app_2_3.dtd  It definitely
> does allow welcome-file-list inside of web-app, as far as I can tell.
>
> Do I have the right DTD?  I used the web.xml from the examples directory as
> the starting point for my own web.xml.  Where does the welcome-file entry go
> inside of web.xml?
>
> Thanks in advance for help and suggestions.
>

The elements inside <web-app> have to be defined in the order that the DTD
specifies -- look up near the top for the "<!ELEMENT weba-app ...>"
declaration.

> - John
>

Craig


--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to