Java Reference
In-Depth Information
L ISTING 20.4
Continued
<a href=”/catalog/servlet/Controller?service=ListMovies&catid=8&target=/
ListMovies.jsp”>
Westerns
</a>
</td>
</tr>
<tr>
<td>
<hr>
</td>
</tr>
<tr>
<td>
<a href=”/catalog/index.jsp”>
Home
</a></td>
</tr>
<tr>
<td>
<a href=”/catalog/servlet/Controller?service=CheckOut&target=/CheckOut.jsp”>
Check Out
</a>
</td>
</tr>
<tr>
<td>
<a href=”/catalog/servlet/Controller?service=EmptyCart&target=/index.jsp”>
Empty Cart
</a>
</td>
</tr>
</table>
The final section of your catalog layout is the client area. This will change based on the view
that is currently being represented. Each view is described in the following sections. All views
will use JSP includes to incorporate the Title Bar and Navigation into their individual layouts.
Index View
The Index view will be represented by the file index.jsp . It will act as the home page for your
catalog. An image of the Index view is in Figure 20.4.
Search WWH ::




Custom Search