I recently built a html form that allows a user to enter a cd title, a
minimum price, and/or a maximum price then submit this criteria. Now,
I'm trying to write a servlet that accepts the search criteria
(title,minPrice,maxPrice), and performs a search displaying the
results. I want this servlet to be called CdSearch and have the ability to use getCds(), which will return an array of CD Objects. The servlet should also use getCdtitle() and getPrice() to compare the values of the CD objects with the values entered by the user.
I think this should be very easy, but I'm stuck. Can anyone provide
code for the above?