tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Craig R. McClanahan" <Craig.McClana...@eng.sun.com>
Subject Re: XmlMapper error - reading env-entry as taglib ?
Date Tue, 25 Jul 2000 03:10:19 GMT
Graham Lea wrote:

> web.xml problem. (Win NT4, Tomcat, JDK 1.2 running javaw inside JBuilder35)
>

The missing link is what version of Tomcat you are running.  My assumption is
that it is Tomcat 3.1, because there was a bug in that version (subsequently
fixed) that tried to use the "addTaglib()" method when you used an <env-entry>
element in your web.xml file.

Note that, even in Tomcat 3.2, the fact that you don't encounter this
particular error does not do you a whole lot of good.  Tomcat does not
implement the J2EE-compatible JNDI context that lets you grab the values of
environment entries that are specified in the web.xml file.  A better choice
for global configuration variables would be to use context initialization
parameters instead.

Craig McClanahan



Mime
View raw message