RE: Problem with loading classes dynamically, new objects can't see things in webapp.

2001-09-12 Thread Guy Verbist
Hi again Craig. If ProsumerTestTag is being loaded from the class path, it's being loaded by the system class loader. If CustomTag is being loaded from the web app, it is being loaded from the webapp class loader. Judging by printing out the name of the classloaders being used at

RE: Problem with loading classes dynamically, new objects can't see things in webapp.

2001-09-11 Thread Guy Verbist
Hi Craig, and thanks for your reply. Because you got NoClassDefFoundError instead of ClassNotFoundException, it is *not* ProsumerTestTag that is the missing one. Instead, check the sources of ProsumerTag for references to *other* classes, and make sure all of *those* classes are also

RE: Problem with loading classes dynamically, new objects can't see things in webapp.

2001-09-11 Thread Craig R. McClanahan
On Tue, 11 Sep 2001, Guy Verbist wrote: Date: Tue, 11 Sep 2001 16:49:14 +0100 From: Guy Verbist [EMAIL PROTECTED] Reply-To: [EMAIL PROTECTED] To: '[EMAIL PROTECTED]' [EMAIL PROTECTED] Subject: RE: Problem with loading classes dynamically, new objects can't see things in webapp

RE: Problem with loading classes dynamically, new objects can't see things in webapp.

2001-09-11 Thread Dmitri Colebatch
On Tue, 11 Sep 2001, Craig R. McClanahan wrote: If ProsumerTestTag is being loaded from the class path, it's being loaded by the system class loader. If CustomTag is being loaded from the web app, it is being loaded from the webapp class loader. Classes loaded from the system class

RE: Problem with loading classes dynamically, new objects can't see things in webapp.

2001-09-11 Thread Craig R. McClanahan
On Wed, 12 Sep 2001, Dmitri Colebatch wrote: Date: Wed, 12 Sep 2001 08:02:47 +1000 From: Dmitri Colebatch [EMAIL PROTECTED] Reply-To: [EMAIL PROTECTED] To: '[EMAIL PROTECTED]' [EMAIL PROTECTED] Subject: RE: Problem with loading classes dynamically, new objects can't see things

RE: Problem with loading classes dynamically, new objects can't see things in webapp.

2001-09-11 Thread Dmitri Colebatch
On Tue, 11 Sep 2001, Craig R. McClanahan wrote: Exactly the same issue. That's why the Struts documentation tells you (over and over again :-) to put struts.jar *inside* your web app (in /WEB-INF/lib) and nowhere else. oops (o: should have read the doco... I skipped straight to the archives