Setting Up and Using the Servlet

The servlet classes should be placed in the directory where your servlet engine expects class files. You will also need to place the CParseRFC1867.class, CBlobInputStream.class, LDAPConnectionPool.class, and LDAPConnectionPool$LDAPConnectionObject.class files in this directory. Next,place the images files in a directory that is available from your Web server. The path to this location should be set in the phonebook.properties file. Execute the servlet by accessing the URL for your servlet engine; in your Web browser you will most likely receive the message shown in Figure 13-8.

Figure 13-8. Message indicating that the properties file could not be found.

Locate the file phonebook.properties on the hard drive ...

Get LDAP Programming with Java™ 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.