Java Reference
In-Depth Information
Made sure that the Service , Controller , LDAPObject , and LDAPManager classes are in
your classpath
Compiled all of the service implementations and moved the class files to the
<SERVER_ROOT>/webapps/ldap/WEB-INF/classes/ directory
After you have started the Tomcat server, open your browser to the following URL:
You should see the ldap home page (refer to Figure 21.4).
Select the Directory link. (Refer to Figure 21.5, which shows the results.)
Click the Delete link beside one of the listings on the directory.jsp page. You will be redi-
rected to the index.jsp page. To see the results of the Delete select the Directory link again.
The user you selected should no longer be listed.
The final action you will perform is adding a People object. To do this, select the Add link and
fill in the form shown. After this is complete click the Submit Query button to insert the user.
Now select the Directory link once more and you should see your newly added entry.
This chapter gave another example of how you can leverage your server-side implementation
of the MVC, by implementing a Web front end to an LDAP server.
In the next chapter, you will work through another case study using your server-side MVC to
build a simple online stock trading application.
Search WWH ::

Custom Search