LDAP search

Retrieve the results of a LDAP search in pages and also define number of entries on each page:

Set the Context.BATCHSIZE property before you create the context:

// Set the batch size to 25...
env.put ("java.naming.batchsize", "25");

DirContext dc = new InitialDirContext (env);
//...

0 comments: