Java Servlet question from into to java programming by Liang Exercise 37.5 Calcu
ID: 3678343 • Letter: J
Question
Java Servlet question from into to java programming by Liang
Exercise 37.5 Calculate Loan
(Calculate loan) Write an HTML 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.
Figure 37.31