----- Original Message -----
From: "Craig R. McClanahan" <[EMAIL PROTECTED]>
To: "Tomcat Users List" <[EMAIL PROTECTED]>
Sent: Monday, October 14, 2002 2:11 PM
Subject: RE: WEB-INF/classes, WEB-INF/lib


>
>
> On Mon, 14 Oct 2002, Scott Purcell wrote:
>
> > It works on my tomcat on NT. We use a lot of jars, but it it someties
> > hard to uncompress and compress the jars with changes, so I just put the
> > updated class in the classes dir and all works out well. When we go to
> > production, I just jar them all back.
>
> Containers that follow the servlet spec's requirements will load classes
> from "/WEB-INF/classes" before they look at the JAR files in
> "/WEB-INF/lib".  [Section 9.5, last sentence before 9.5.1 starts].

Do they do this on a class level, or on a package level. So, from what I see
hear, "patching" a WEB-INF/lib JAR file with a overriding class in the
WEB-INF/classes directory will work as anticipated?

I never know how much caching of lookup Java is allowed to do with class
lookups, or whether it does any at all (though I do assume it caches the
directories/JARs when first visited, and does not look at those again, but
perhaps that's a bad assumption).

Regards,

Will Hartung
([EMAIL PROTECTED])




--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to