CSc 8711. Databases and the Web
Fall 2006, Programming Project 2 - Mini (Yugioh Search)
Due: Friday, September 22th

Consider the following database schema that catalogs the popular Yu-Gi-Oh trading cards:

create table yugiohcards (
    cardCode      varchar(8) primary key,
    series        varchar(4),
    cardName      varchar2(50),
    attribute     varchar2(50),
    cardType      varchar2(50),
    attackPoints  number(5),
    defensePoints number(5),
    rarity        varchar2(20),
    description   varchar2(1024),
    numStars      number(2)
);
Each row in this table describes a trading card. Each card has numerous characteristics such as rarity (Secret Rare, Ultra Rare, Super Rare, Rare, and Common) and cardType (Fiend, Dragon, Spellcaster, Warrior, Pyro, Thunder, Magic, Trap, etc).

Develop a search engine using Java servlets/JSP to search cards from this database. The search page should contain the following HTML form elements:

  1. Select lists for the following columns: series, cardType, attribute, and rarity.
  2. Text Box fields for cardName and description columns.
  3. Text Box fields preceded by a pull down list with three labels: <=, =, >= for attackPoints, defensePoints, and numStars columns.
  4. A submit button labeled "Find Cards".

Notes: