tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Shapira, Yoav" <>
Subject RE: weird tomcat5.0.30 behaviour with jar in WEB-INF/classes
Date Wed, 01 Dec 2004 16:27:01 GMT


>> regardless of the directory being lib or classes....seems like a bug
>> me as any file in the classpath should just be a file as a jar file
>> should have to be added to the classpath like it's a directory.
>I agree

That's overly simplified.  Unlike the classpath for a normal console
application, the directory structure of a webapp has special meanings.
See SRV.9.5 in the Servlet Spec, which tells you what to put in
WEB-INF/classes and what to put in WEB-INF/lib.  If you put jars in
WEB-INF/classes, you're at best in questionable territory.  If you open
a Bugzilla issue for this, don't be surprised to see it closed as
invalid or just left unattended.

Yoav Shapira

This e-mail, including any attachments, is a confidential business communication, and may
contain information that is confidential, proprietary and/or privileged.  This e-mail is intended
only for the individual(s) to whom it is addressed, and may not be saved, copied, printed,
disclosed or used by anyone else.  If you are not the(an) intended recipient, please immediately
delete this e-mail from your computer system and notify the sender.  Thank you.

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message