15.2. Example: An On-Line Travel Agent
Consider the case of an on-line travel agent that has a quick-search page, as shown in Figure 15-1 and Listing 15.2. Users need to enter their e-mail address and password to associate the request with their previously established customer account. Each request also includes a trip origin, trip destination, start date, and end date. However, the action that will result will vary substantially based upon the action requested. For example, pressing the “Book Flights” button should show a list of available flights on the dates specified, ordered by price (see Figure 15-1). The user's real name, frequent flyer information, and credit card number should be used to generate the page. On the other hand, selecting ...
Get Core 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.