|
Load class file which resides in local path c:\
Hi
I wanted to load and run class file residing under local path from my project.
I am using Class.forName() to accomplish this. Its successfully loading if the the class resides within package.But the class file has to be kept in local drive say C:\
I tried this way..
Class _class2 = Class.forName("C:/HelloWorld");
Where HelloWorld is a class residing in C:\
How can i approach this? Is this way wrong? Do i need to use some other way? Please help.
|