Running a Search Against LDAP

With a large piece of the company gone, it hardly seems worthwhile, but IT decides to continue on with its LDAP project and writes a page to list the company phone directory (not the wisest thing to do, perhaps, given that someone seems to be using it to recruit the company's personnel, but what the heck!).

The phone list page is simplicity itself (see Listing 15.7). It gets an iterator over the vector of employees returned from the getAllEmployees call and then displays a table (shown in Figure 15.13). You can see that Al is there, along with a large number of his relatives whom he has hired, all named Al. These are artifacts of the development process, when a large number of records got inserted during unit testing. ...

Get MySQL™ and JSP™ Web Applications: Data-Driven Programming Using Tomcat and MySQL now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.