tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Christopher Schultz <ch...@christopherschultz.net>
Subject Re: Where can i get the specification of web.xml?
Date Fri, 03 Jul 2009 14:32:28 GMT
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

chenjh,

On 7/3/2009 2:49 AM, chenjh wrote:
> Where can i find reference, or something like that, for tomcat's web.xml.

Don't listen to these folks who are just googling "web.xml reference"
and posting the link. Instead, use your head and look at the DTD of
Schema used in your actual web.xml file.

There are different specifications depending on which version of the
servlet spec your application uses. Here are the canonical references
for the versions I have access to:

Servlet 2.2 (DTD)    : http://java.sun.com/j2ee/dtds/web-app_2_2.dtd
Servlet 2.3 (DTD)    : http://java.sun.com/dtd/web-app_2_3.dtd
Servlet 2.4 (Schema) : http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd
Servlet 2.5 (Schema) : http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd

Both the DTDs and the Schemas are heavily self-documented.

- -chris
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAkpOFnsACgkQ9CaO5/Lv0PC2JQCdE29ISsVZNL77fCosdlPLloyi
3jEAoKwZ4pjE5nB6YZFSuxvvbB8GUzIy
=MDT5
-----END PGP SIGNATURE-----

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Mime
View raw message