this is my code ... look at carefullyyyyy ...
import javax.naming.*;
import java.util.*;
class JNDITest
{
public static void main(String args[]) throws Exception
{
Hashtable tab = new Hashtable();
tab.put("Debasi s","Moumita" );
tab.put("Shyam" ,"Mamata");
tab.put("Debabr ata","Sujata") ;
Context ctx = new InitialContext( tab);
System.out.prin tln("Debasis: " + ctx.lookup("Shy am"));
}
}
i just write in Oracle Jdeveloper 3.2.3 an try to run this ....
and i get .... javax.naming.No InitialContextE xception Need to specify class name in environment or system property, or as an applet parameter, or in an application resource file: java.naming.fac tory.initial
why does it mean???? plz explain .......
any help is most welcome.....
thanxxxxx
import javax.naming.*;
import java.util.*;
class JNDITest
{
public static void main(String args[]) throws Exception
{
Hashtable tab = new Hashtable();
tab.put("Debasi s","Moumita" );
tab.put("Shyam" ,"Mamata");
tab.put("Debabr ata","Sujata") ;
Context ctx = new InitialContext( tab);
System.out.prin tln("Debasis: " + ctx.lookup("Shy am"));
}
}
i just write in Oracle Jdeveloper 3.2.3 an try to run this ....
and i get .... javax.naming.No InitialContextE xception Need to specify class name in environment or system property, or as an applet parameter, or in an application resource file: java.naming.fac tory.initial
why does it mean???? plz explain .......
any help is most welcome.....
thanxxxxx