wood burning stoves 2.0*
The moose likes Java in General and the fly likes Class loader Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Java in General
Bookmark "Class loader" Watch "Class loader" New topic

Class loader

Sani babangida

Joined: Jan 31, 2007
Posts: 16
I would like to use the ForName to load up a file. please how does one use the current ClassLoader to lod up the file
Chris Beckey
Ranch Hand

Joined: Jun 09, 2006
Posts: 116

Assuming that the class file is on the classpath of the threads context class loader then you simply use :

You can also use:

to use a specific ClassLoader instance.
I agree. Here's the link: http://aspose.com/file-tools
subject: Class loader
Similar Threads
compiling packages
Having to manually add certain folders and files to /wtpapps folder
log4j in weblogic
Looking for example of necessary tearDown( )
Betterway to use global variable in webapplication