Hi,
I added the netscape.ldap and all of its subdirs in my projects dir ( winNT) and added 
the following code on a button click

LDAPConnection conn = new LDAPConnection();
                   
conn.connect ( myServer,port);
                                   
LDAPUrl ur=new 
LDAPUrl("ldap://host/o=company?telephonenumber?(&(corp_empnum=99999999))");
                 
                 
if (conn.isConnected())
                   {
                                       LDAPSearchResults results =(LDAPSearchResults) 
conn.search( ur);
                       
                  }
the problem is that the code compiles fine but i get an unexpected exception 
 Unexpected exception from an event (java.lang.NoClassDefFoundError:
netscape/ldap/client/opers/JDAPResult

any ideas ?
Osman Sakalla
Nortel Networks
_________________________________________________________________________

For help in using, subscribing, and unsubscribing to the discussion
forums, please go to: http://www.netdynamics.com/support/visitdevfor.html

For dire need help, email: [EMAIL PROTECTED]

Reply via email to