> -----Original Message----- > From: mustaoglu serdar [mailto:[EMAIL PROTECTED] > Sent: 27 August 2004 14:31 > To: Avalon framework users > Subject: RE: classpath problem > > I use back Class.forname again > insteadof getClass().getClassLoader().loadClass("com.mysql.jdbc.Driver"); > good coding.
May I suggest the following read: http://www.javageeks.com/Papers/ClassForName/ClassForName.pdf Also, you can get the classloader assigned to the container from the context using the key urn:avalon:classloader. Cheers, Steve. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]