Java Reference
In-Depth Information
F
IGURE
21.5
The Directory View.
Add View
The next JSP that we will look at serves as the
View
for our
LDAPInsert
service. It contains an
HTML form that queries the user for the attributes associated with a
People
object. Figure
21.6 shows an image of the Add View.
Listing 21.5 gives the source for the Add View.
L
ISTING
21.5
insert.jsp
<html>
<head>
<title>Sams Online Directory</title>
</head>
<body bgcolor=”#FFFFFF”>
<table width=”100%” border=”0”>
<tr>
<td colspan=”2”>
<jsp:include page=”titlebar.jsp” flush=”true” />
</td>