Order the Book

coreservlets
Class TravelData

java.lang.Object
  |
  +--coreservlets.TravelData

public class TravelData
extends Object

This class simply sets up some static data to describe some supposed preexisting customers. Use a database call in a real application. See CSAJSP Chapter 18 for many examples of the use of JDBC from servlets.

Taken from Core Servlets and JavaServer Pages from Prentice Hall and Sun Microsystems Press, http://www.coreservlets.com/. © 2000 Marty Hall; may be freely used or adapted.


Constructor Summary
TravelData()
           
 
Method Summary
static TravelCustomer[] getTravelData()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TravelData

public TravelData()
Method Detail

getTravelData

public static TravelCustomer[] getTravelData()

Order the Book

Order
CSAJSP @ amazon.com

Return to Top-Level Source Code Archive