Hi dmjpro....
Thank u....I tried with following
Class CN = Class.forName("ClassName");
Object o = CN.newInstance();
For that i m getting InstantiationException...How to resolve??
-Hamsa
May be you have no default "Constructor" or you have that "Constructor" as "private" or "protected"
Have a through look at the "API".
Actually "Why this Exception thrown" !
Also having look at "Constructor" and "Method" classes.
This will help you to resolve that problem with that particular "class".
Debasis Jana