6.2. The Top-Level Page
Listing 6.3 shows index.jsp, the top-level page for the boat store. The result is shown in Figure 6-1. There are a couple of things to note about this page.
Figure 6-1. Result of index.jsp.
First, since the style sheet app-styles.css is also in the top-level boats directory, the LINK element in the HEAD of the page can simply use the style sheet filename for the HREF attribute. See the source code archive at http://www.moreservlets.com if you want the source for app-styles.css. Similarly, the hypertext links to the yachts, tankers, and carriers JSP pages require only a simple filename within the HREF attribute. One of ...
Get More Servlets and JavaServer Pages™ 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.