tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From cmanola...@yahoo.com
Subject Re: WEB-INF classloading and on the fly compilation
Date Thu, 14 Sep 2000 20:20:46 GMT
> > > > Now, either am I a complete MORON or JavaC resolves everything using the
> > > > System classloader, completely ignoring whatever classloader loaded
> > > > itself? NOTICE: If this is true, we have a bunch of problems basically
> > > > everywhere we want to do some on-the-fly compilation (tomcat people
> > > > read: JSP!).
> > > >
> > > 
> > > This shouldn't be. The 2.2 spec says so on page 24.
> > 
> > ??? Where on page 24? On my copy it talks about resources and virtual
> > hosts....
> > 
> On page 24 section 4.6 "a Container Provider ... must ensure that all
> servlets, and classes that they may use, are loaded in the scope of a
> single class loader ..."

Well, I'm confused - this is how tomcat works. Each context has it's class
loader and all servlets and classes are loaded by that class loader. (
starting with tomcat 3.3 it'll be the URLClassLoader - the
"most" standard/compatible/secure loader we could use). 

Costin


Mime
View raw message