RE: classpath problem

"Stephen McConnell" <[email protected]>
Newsgroups gmane.comp.jakarta.avalon.user
Message-ID <001f01c48c32$4b07eac0$1601a8c0@gloria>

> -----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.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.