You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by August Detlefsen <au...@yahoo.com> on 2002/06/08 01:54:28 UTC

web.xml DTD

Where can I find the DTD for web.xml? I want to make sure I have the
elements in the correct order. 

Thanks,
August

__________________________________________________
Do You Yahoo!?
Yahoo! - Official partner of 2002 FIFA World Cup
http://fifaworldcup.yahoo.com

--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>


RE: web.xml DTD

Posted by Bo Min Jiang <bj...@cambian.com>.
Actually, you can find the DTD at http://java.sun.com/dtd/.  The file is
web-app_2_3.dtd

Also, I've found that the order of the elements does matter - on Tomcat
4.0.3, I have encountered startup errors when some elements were out of
order, e.g. placing <welcome-file-list> before <servlet>.

Bo

-----Original Message-----
From: Guillaume de Roujoux [mailto:gderoujoux@kaidarausa.com]
Sent: Friday, June 07, 2002 5:06 PM
To: Tomcat Users List; augustd@codemagi.com
Subject: Re: web.xml DTD


I don't think there is one (I have never seen one).
But the order of elements should not matter (provided they are here !)

Guillaume
----- Original Message -----
From: "August Detlefsen" <au...@yahoo.com>
To: "Tomcat Users List" <to...@jakarta.apache.org>
Sent: Friday, June 07, 2002 4:54 PM
Subject: web.xml DTD


> Where can I find the DTD for web.xml? I want to make sure I have the
> elements in the correct order.
>
> Thanks,
> August
>
> __________________________________________________
> Do You Yahoo!?
> Yahoo! - Official partner of 2002 FIFA World Cup
> http://fifaworldcup.yahoo.com
>
> --
> To unsubscribe, e-mail:
<ma...@jakarta.apache.org>
> For additional commands, e-mail:
<ma...@jakarta.apache.org>
>
>


--
To unsubscribe, e-mail:
<ma...@jakarta.apache.org>
For additional commands, e-mail:
<ma...@jakarta.apache.org>


--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>


Re: web.xml DTD

Posted by Guillaume de Roujoux <gd...@kaidarausa.com>.
I don't think there is one (I have never seen one).
But the order of elements should not matter (provided they are here !)

Guillaume
----- Original Message -----
From: "August Detlefsen" <au...@yahoo.com>
To: "Tomcat Users List" <to...@jakarta.apache.org>
Sent: Friday, June 07, 2002 4:54 PM
Subject: web.xml DTD


> Where can I find the DTD for web.xml? I want to make sure I have the
> elements in the correct order.
>
> Thanks,
> August
>
> __________________________________________________
> Do You Yahoo!?
> Yahoo! - Official partner of 2002 FIFA World Cup
> http://fifaworldcup.yahoo.com
>
> --
> To unsubscribe, e-mail:
<ma...@jakarta.apache.org>
> For additional commands, e-mail:
<ma...@jakarta.apache.org>
>
>


--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>


Re: web.xml DTD

Posted by August Detlefsen <au...@yahoo.com>.
Thanks Craig, the DTD from servlet.jar was just what I needed. 

-August

--- "Craig R. McClanahan" <cr...@apache.org> wrote:
> 
> 
> On Fri, 7 Jun 2002, August Detlefsen wrote:
> 
> > Date: Fri, 7 Jun 2002 16:54:28 -0700 (PDT)
> > From: August Detlefsen <au...@yahoo.com>
> > Reply-To: Tomcat Users List <to...@jakarta.apache.org>,
> >      augustd@codemagi.com
> > To: Tomcat Users List <to...@jakarta.apache.org>
> > Subject: web.xml DTD
> >
> > Where can I find the DTD for web.xml? I want to make sure I have
> the
> > elements in the correct order.
> >
> 
> It is in the servlet specification, which you can download from:
> 
>   http://java.sun.com/products/servlet/download.html
> 
> You can also extract the DTDs that Tomcat uses from the servlet.jar
> file
> that is in the "common/lib" subdirectory -- it looks at these
> internal
> copies so that DTD validation can occur even if your server is not
> connected to the Internet.
> 
> > Thanks,
> > August
> 
> Craig
> 
> 
> --
> To unsubscribe, e-mail:  
> <ma...@jakarta.apache.org>
> For additional commands, e-mail:
> <ma...@jakarta.apache.org>
> 


__________________________________________________
Do You Yahoo!?
Yahoo! - Official partner of 2002 FIFA World Cup
http://fifaworldcup.yahoo.com

--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>


Re: web.xml DTD

Posted by "Craig R. McClanahan" <cr...@apache.org>.

On Fri, 7 Jun 2002, August Detlefsen wrote:

> Date: Fri, 7 Jun 2002 16:54:28 -0700 (PDT)
> From: August Detlefsen <au...@yahoo.com>
> Reply-To: Tomcat Users List <to...@jakarta.apache.org>,
>      augustd@codemagi.com
> To: Tomcat Users List <to...@jakarta.apache.org>
> Subject: web.xml DTD
>
> Where can I find the DTD for web.xml? I want to make sure I have the
> elements in the correct order.
>

It is in the servlet specification, which you can download from:

  http://java.sun.com/products/servlet/download.html

You can also extract the DTDs that Tomcat uses from the servlet.jar file
that is in the "common/lib" subdirectory -- it looks at these internal
copies so that DTD validation can occur even if your server is not
connected to the Internet.

> Thanks,
> August

Craig


--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>