jake ammons
New member
Can somebody please help me with this problem? You have to create a form
Using HTML and JSP, design a form that will prompt customers to enter their names, and to choose whether to rent a full size car, medium size car, or small size car. The form should also prompt users to enter the number of days to rent the car. Add a button (submit) to help send the form’s data to a server-side script and another button (reset) to clear the form’s data.
Accept the form’s data using a JSP file with the following criteria to calculate the total cost of renting the car:
•If a user chooses to rent a full size car, the charge is going to be $54.99 per day.
•If a medium size car is chosen, the charge for it should be $45.99 per day.
•Small size cars cost $36.99 per day to rent.
The following data should also be displayed: customer name, car size, days of renting, cost per day, total cost.
Using HTML and JSP, design a form that will prompt customers to enter their names, and to choose whether to rent a full size car, medium size car, or small size car. The form should also prompt users to enter the number of days to rent the car. Add a button (submit) to help send the form’s data to a server-side script and another button (reset) to clear the form’s data.
Accept the form’s data using a JSP file with the following criteria to calculate the total cost of renting the car:
•If a user chooses to rent a full size car, the charge is going to be $54.99 per day.
•If a medium size car is chosen, the charge for it should be $45.99 per day.
•Small size cars cost $36.99 per day to rent.
The following data should also be displayed: customer name, car size, days of renting, cost per day, total cost.