tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Kitching Simon <>
Subject RE: WEB-INF/lib
Date Wed, 25 Oct 2000 08:33:12 GMT
Hi Ted,

This functionality works fine in tomcat3.1.
I (and many others on this email list) use
this without problems. I am sure that tomcat3.2
also does this, as this behaviour is defined in 
sun's servlet specification.

The files should be in application/WEB-INF/lib.
Tomcat *does* add these to its classpath

Note that only ".jar" files will be added; files
with the suffix ".zip" get ignored. And don't
forget that if you're using unix, then case
is important..



> -----Original Message-----
> From:	TDSlusser@thoughtworks.COM [SMTP:TDSlusser@thoughtworks.COM]
> Sent:	Tuesday, October 24, 2000 9:17 PM
> To:
> Subject:	WEB-INF/lib
> Hi All,
> I am trying to put my JDBC jar file in the application/WEB-INF/lib
> directory but Tomcat doesn't add the jar file to its classpath
> automatically.  Is there a config parameter in one of the xml files to do
> this?  Also the default "build" script for NT machines says to put the
> jars
> in application/lib instead of application/WEB-INF/lib.  I tried it both
> ways and it doesn't work.  I am restarting the server after ant copies the
> files to the appropriate directories.
> If I add the jar file to the CLASSPATH in the script to start the tomcat
> server it works, but I thought it was supposed to happen automatically.
> Thanks,
> Ted.

View raw message