On 25/09/2012 16:04, Elgs Chen wrote:
> Hi Mark,
> 
> Thanks for your fast answer. That helped me to narrow down the scope of this 
> problem. I understand line 262 is to initialize and create the common, shared 
> and catalina class loaders. But I'm still struggling how the 
> WebappClassLoader.loadClass(String name, boolean resolve) be able to load the 
> class ServletDef. Can you please give me some more insight into this method? 
> I think the it should load the class via the catalina class loader as my 
> previous assumption 1 was wrong. If this is the case, How does this method 
> achieve that?

This is beginning to sound like a homework question. I suggest you look
at the source code for the WebappClassLoader and/or trace through the
code using a debugger.

Mark


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org

Reply via email to