displayRecord() changes the value of the form field to data[recordNum].
Your form has two buttons (next and previous) that call next() and previous().
For more than one item of data you could either have an array for each data item, or even better, a multidimensional array. Hope this helps. [This message has been edited by Jason Menard (edited March 27, 2001).]
subject: displaying one by one record using servlets