CREATE A JSP using JAVA to calculate the following: The user should input length, width, height, weight, and zone. Di
-
- Site Admin
- Posts: 899603
- Joined: Mon Aug 02, 2021 8:13 am
CREATE A JSP using JAVA to calculate the following: The user should input length, width, height, weight, and zone. Di
CREATE A JSP using JAVA to calculate the following: The user should input length, width, height, weight, and zone. Dimensions are in inches. Weight is in pounds. The zone should be 1-4. The form input fields should be mapped to bean properties using the "*". The calculation should be as shown below. length x width x height: use 1 if less than 288, 1.5 if larger. weight: use 1 if less than 10 pounds, 1.5 if larger. zone: use the zone value as is postage: $10 x dimension factor x weight factor x zone factor For example, suppose the dimensions are 8x8x12, the weight is 15 pounds, the zone is 2. Then the postage is $10 x 1.5 x 1.5 x 2 = $45