[jboss-user] [Beginners Corner] - Re: classpath..!!!
jaikiran
do-not-reply at jboss.com
Fri Jul 14 06:36:18 EDT 2006
anonymous wrote : i am creating a instance of a class efg in class abc
Your code should look like:
Class classDefinition = Class.forName("p.sp.ssp.abc");
| object = classDefinition.newInstance();
You will have to specify the entire package name and class name to create the Class.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3958027#3958027
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3958027
More information about the jboss-user
mailing list