Question: Write a web page form that prompts the user to enter loan amount, interest rate, and number of years, as shown in Figure 37.31a. Clicking


Write a web page form that prompts the user to enter loan amount, interest rate, and number of years, as shown in Figure 37.31a. Clicking the Compute Loan Payment button invokes a servlet to compute and display the monthly and total loan payments, as shown in Figure 37.31b. Use the Loan class given in Listing 10.2, Loan.java, to compute the monthly and total payments. Use Java.util.Locale to format the output for the correct locale.
Exercise3 7,5-Mozilla Firefox Ele Edit View History Bookmarks Iools Help Exerse37,5 d bahost:8080/Chapter37servletexercise/Exercise37,05.html c Compute Loan Payment Loan Amount 150000 Annual Interest Rate 7.85 Number of Years 15 Compute Loan Payment Reset
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
