Write a servlet that computes the total cost of the ordered


Write a servlet that returns a randomly chosen greeting from a list of five different greetings. The greetings must be stored as constant strings in the program.

Write the markup document to create a form with the following capabilities:

a. A text widget to collect the user's name

b. four checkboxes, one each of the following items:

i. Four 25-watt light bulbs for $2.39

ii. Eight 25-watt light bulbs for $4.29

iii. Four 25-wat long life light bulbs for $3.95

iv. Eight 25-watt long life light bulbs for $7.49

c. A collection of three radio buttons that are labeled as follows: i. visa ii. mastercard iii. Discover

2. Write a servlet that computes the total cost of the ordered light bulbs from above problem after adding 6.2 percent sales tax. The servlet must inform the buyer of exactly what was ordered in a table.

Request for Solution File

Ask an Expert for Answer!!
JAVA Programming: Write a servlet that computes the total cost of the ordered
Reference No:- TGS01207375

Expected delivery within 24 Hours