O'Reilly logo

MySQL™ and JSP™ Web Applications: Data-Driven Programming Using Tomcat and MySQL by James Turner

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

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. ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required