Question: Write and test a JSP document that displays the form of Exercise 11.8 and produces the same response document as Exercise 11.9. Data from exercise

Write and test a JSP document that displays the form of Exercise 11.8 and produces the same response document as Exercise 11.9.


Data from exercise 8

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 for the following items:
i. Four 25-watt light bulbs for $2.39
ii. Eight 25-watt light bulbs for $4.29
iii. Four 25-watt 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. Master Card
iii. Discover


Data from exercise 11.9

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

Step by Step Solution

3.40 Rating (178 Votes )

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock

FIRST PART HTML Forms User name Four 25watt light bulbs for 239 Eight 25watt ligh... View full answer

blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming World Wide Questions!