MS - CSc 6370

Web Programming

GSU

More info:

Click throught the assignments to view contents




Valid XHTML 1.0 Strict



Instructions

Assignment 3 (due September 27, 2008)
1. Write the XHTML to create a form with the following capabilities:
* A text widget to collect the user's name.
* Four checkboex, one each for the following items:
1. Four 100-watt light bulbs for $2.39
2. Eight 100-watt light bulbs for $4.29
3. Four 100-watt long-life light bulbs for $3.95
4. Eight 100-watt long-life light bulbs for $7.49
* A collection of three radio buttons that are labeled as follows:
1. Visa
2. MasterCard
3. Discover
2. Write a servlet: servlet A that computes the total cost of the ordered light bulbs from Problem 1 after adding 8.0 percent sales tax. The servletA must inform the buyer of exactly what was ordered, in a TABLE. The servletA also generates two buttons: continue button and cancel button.
3. When continue button in Problem 2 is clicked, it will direct the user to a second servlet, servletB. This servlet displays the credit card type selected by the user in Problem 1, followed by a text widget to collect the credit card number. The servletB also generates two buttons: continue button and cancel button.
4. When continue button in Problem 3 is clicked, it will direct the user to a third servlet, servletC. This servlet reviews the user's order, displays two buttons: confirm button and cancel button.
5. When confirm button in Problem 4 is clicked, it will direct the user to a fourth servlet, servletD. This servlet thanks the user.
6. When any cancel button in Problem 2, 3, 4 is clicked, it will end the process and display some message.

Answers

First name:(First letter should be a capital)
Last name:(First letter should be a capital)

Shopping List:(Pick at least 1)
4 100-watt light bulbs for $2.39
8 100-watt light bulbs for $4.29
4 100-watt long-life light bulbs for $3.95
8 100-watt long-life light bulbs for $7.49


Visa Mastercard Discover

ml>