Crude works for me. I'm just trying to figure out why jython can't see the classes that should be in my WEB-INF/classes folder. Or for that matter to make sure that folder is in the classpath.
--mikej -=----- mike jackson [EMAIL PROTECTED] > -----Original Message----- > From: Tim Funk [mailto:[EMAIL PROTECTED] > Sent: Thursday, January 20, 2005 10:57 AM > To: Tomcat Users List > Subject: Re: Getting the classpath > > > A *crude way* is to get a reference to the current context > classloader. If > the classloader is a URLClassloader - you can call getURLs() > to get the > classpath for that loader. Then keep calling > classloader.getParent() and keep > casting to a URLClassloader until parent is null. > > -Tim > > Mike Jackson wrote: > > > How can I get the current classpath at runtime as "seen" by > any class > > in a particular context? I know I can run System.getProperty( > > "java.class.path" ), but that seems to just show me the > classpath at > > startup of tomcat rather than for objects within the webapp. > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]