FWIW, I think Mike Slinn has put up a web.xml validator (and other
useful tools/documentation) at

http://tomcat.mslinn.com/


On Sat, 19 May 2001, Robert Petersen wrote:

> It matters, and doesn't have to do with SAX vs. DOM, it's because
> of the DTD - check out this bit of the DTD:
> <!ELEMENT web-app (icon?, display-name?, description?, distribut-able?,
> context-param*, filter*, filter-mapping*, listener*, servlet*,
> servlet-mapping*,
> session-config?, mime-mapping*, welcome-file-list?, error-page*,
> taglib*, resource-env-ref*, resource-ref*, security-constraint*,
> login-config?,
> security-role*, env-entry*, ejb-ref*, ejb-local-ref*)>
>
> This says that the "servlet-mapping" tags must follow all of the "servlet".
> Basically the
> tags must be in the order above.
>
> - Robert Petersen
> http://www.orangefood.com
>
>
> -----Original Message-----
> From: Richard Draucker [mailto:[EMAIL PROTECTED]]
> Sent: Saturday, May 19, 2001 9:24 AM
> To: [EMAIL PROTECTED]
> Subject: web.xml layout
>
>
> Does anyone know if it makes any difference whether I group
> servlet contexts with servlet mappings or keep all contexts
> together and below them keep all mappings together.
>
> Assuming the xml file is being processed by SAX, the
> callback handling would make this irrelevant I would think.
>
> Thoughts?....
>
> Thanks,
> Richard
>
>
>
>
>
>
>
>

Milt Epstein
Research Programmer
Software/Systems Development Group
Computing and Communications Services Office (CCSO)
University of Illinois at Urbana-Champaign (UIUC)
[EMAIL PROTECTED]

Reply via email to