tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Peter Crowther" <Peter.Crowt...@melandra.com>
Subject RE: web.xml uses non-validating xml?
Date Sun, 26 Dec 2004 22:23:36 GMT
> From: D. Stimits [mailto:stimits@comcast.net] 
> I'm trying to debug something, and the individual 
> webapps/myapp/WEB-INF/web.xml file seems to be a bit of an 
> enigma to me. 
[...]
> I went to the DTD's to see what was 
> written there. Initially I used this DTD:
> <!DOCTYPE web-app
>   PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.2//EN"
>   "http://java.sun.com/j2ee/dtds/web-app_2_2.dtd">
> 
> ...shock and surprise...resource-env-ref is not even in the 
> DTD.
[...]
> Incidentally, this tag is properly described in 
> http://java.sun.com/dtd/web-app_2_3.dtd.

Which version of Tomcat are you using, and how did you choose the DTD
against which to validate?  Different versions implement different
revisions of the servlet spec, and it's very likely that you're using a
sufficiently recent version of Tomcat that the 2.3 or 2.4 specs are
implemented.

		- Peter

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


Mime
View raw message